Re: shutdown/halt as user
--- David Wright <ichbin@shadlen.org> wrote:
>
> > How can I let a normal user use the "halt" or "shutdown" command?
>
> All the responses to this query have been ugly hacks. The right way
> to do
> this this (put on flame-retardant suit here) is the way RedHat does:
> make
> the halt binary call up pam for authenticaton and authorization and
> allow
> the sysadmin to configure access in /etc/pam.d/halt. RedHat's code is
> GPL
> -- why don't we just steal it?
I came late in this thread, but did anyone suggest sudo?
=====
Shawn Lamson
Debian/GNU Linux Woody
Kernel 2.2.19pre17
XFree86 Version 4.1.0.1 / X Window System
Jesus Loves You!
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
Reply to: