[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shutdown/halt as user



Quoting Vineet Kumar <debian-user@virtual.doorstop.net>:

I have ctrl-alt-del set up for shutdown (reboot)
and ctrl-alt-end for halt

I think that's done in /etc/inittab
When I get home I'll cut it out and send it if no one lese has

It's more secure than suid, but anyone with physical access to the
machine can stop it.

Bob

> * David Wright (ichbin@shadlen.org) [020214 13:58]:
> > 
> > > 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?
> 
> Good call. How about filing a wishlist bug to sysvinit?
> 
> good times,
> Vineet
> 
> -- 
> Currently seeking opportunities in the SF Bay Area
> Please see http://www.doorstop.net/resume/
> -- 
> Satan laughs when we kill each other. Peace is the only way.
> 



Reply to: