Date: Fri, 09 Jul 2004 12:14:55 -0400 From: Chuck Swiger <cswiger@mac.com> To: adstro@stny.rr.com Cc: freebsd-questions@freebsd.org Subject: Re: Allowing Users To Set Date Message-ID: <40EEC47F.6050403@mac.com> In-Reply-To: <55c4d755d26f.55d26f55c4d7@nyroc.rr.com> References: <55c4d755d26f.55d26f55c4d7@nyroc.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
adstro@stny.rr.com wrote: > Is there a way that I can allow a user to set the system time without > allowing them to su to root? I can do things using sudo, but I was wondering > if there was a way without using third party software. You can "chmod u+s date" in order to make it setuid-root, although doing so is not without risk. If you don't trust a user with root, why would you permit them to change the clock? Why not just configure ntpd and have the system time set correctly and not worry about this at all... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40EEC47F.6050403>