Ned Harrison wrote:
I run FreeBSD 5.3 on my home PC in a stand alone machine as a desktop. Is it possible to set it up so an ordinary user can shut the system? I've created a couple of accounts that are not in the wheel group so I can give friends and house guests the chance to play on a non-Microsoft system. I don't want to give them root access just to shut it down.

None of the books which I have discuss using FreeBSD in this way. They are mostly geared to setting up networks running it for businesses. Areas where one may not want an ordinary user to be able to shutdown the machine. However, I prefer having the machine off when I'm not on it. If it's not possible that fine I can continue working around it like I do now.

Thank you
Ned

As you have probably noticed, their are lots of ways to do this. IMHO the easiest would be a SUID root script. That is a script owned by root that has the SUID (set user id) bit set. It should have one line: 'halt' (or whatever 'shutdown -*' you want).


--

Tabor Kelly
[EMAIL PROTECTED]
http://tabor.taborandtashell.net
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to