Allowing Users To Set Date
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. Thanks Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Allowing Users To Set Date
[EMAIL PROTECTED] 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Allowing Users To Set Date
On Fri, 2004-07-09 at 10:50, [EMAIL PROTECTED] 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. Thanks Adam sudo is an _excellent_ tool for giving non-root users limited privileges. Just because it's not in the FreeBSD base don't hold anything against it. I use it on my FreeBSD boxes so I can install ports and update the machines without needing root. On my OpenBSD box (where sudo is part of the base) I set root's shell back to csh, not tcsh like FreeBSD uses, to make logging in as root so uncomfortable that it forces me to write a sudo permission for repetitive tasks. :) Tom ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]