Darcy Brodie <[EMAIL PROTECTED]> wrote:
> Hello
>     I know that it isn't a good idea to give normal users root access,
> but I need to set up a couple of Mandrake boxes (they will only be in
> text mode, as these will be remote terminals to a Unix network) so that
> a normal user can shut down without having to login as root.  The
> process needs to be as simple as possible, to prevent the user from
> messing it up

My favorite trick for that is to make a user 'shutdown' (or something
else, if you want it to be a little harder for non-permitted folks to
guess it ;-)  (cute - spell it backwards: nwodtuhs - oh, never mind ;-)

Anyway - give it some password so only those who are supposed to do shutdowns
can get to it, and make its shell be /etc/halt or some such.

Or - use sudo.  That's possibly the best of all possible answers...
(never used it myself though, I've always just had anyone who
needed to reboot (very small number of folks!) do control/alt/del ;-)

rc


Rusty Carruth          Email:     [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793             7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2     Tempe, AZ 85284-1825
ICBM: 33 20' 44"N   111 53' 47"W

Reply via email to