On 27 Apr 2002 at 0:06, Tathagata Banerjee wrote:
> nope. i prefer to disable /sbin/shutdown for all users other than root,
> because it allows non-privileged users to go into single-user mode when
> invoked with neither the "-h" or the "-r" flag. i don't know whether
> this is a bug or a 'feature' in /sbin/shutdown, but there it is. if i
> add normal users to /etc/shutdown.allow, i can't stop them from entering
> single-user. which is why i will let them use only /sbin/halt.

OK I haven't used shutdown anytime. But tell me, what will happen if I jst say 
shutdown? How can it go to single user mode? It will shutdown, is what I 
understand.

A workaround is to alias shutdown to halt.

 Shridhar


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to