Hello Andreas, Monday, October 16, 2000, 8:26:20 PM, you wrote:
AH> There are two users on my debian system, who I want to be able to reboot AH> and halt without being root. For this purpose I created AH> /etc/shutdown.allow with the corresponding user names. Now when I press AH> Ctrl-Alt-Del the system will reboot as expected - although I have to be AH> logged in as a qualified user, according to shutdown.allow. When you press Ctrl+Alt+Del, init(1) gets it and executes reboot sequence, afaik. So, the only right way in this situation is to disable Ctrl+Alt+Del at all. AH> This looks perfectly reasonable to me as this procedure is described in AH> /etc/inittab. However when I attempt to type 'shutdown -a -r now' or AH> 'shutdown -a -h now' by myself, it says 'shutdown: command not found'. AH> I still have to be root in this case. Add /usr/sbin into your path with: >> export PATH=$PATH:/usr/sbin in BASH, if I'm not mistaken. :) Everything should work. AH> Thanks in advance, AH> Andreas. -- Regards, Ivan mailto:[EMAIL PROTECTED]