Thanks,

Appartently I was reading the man page wrong ! The entire section was to do 
with /etc/inittab ! (I think it's still wrong since my inittab entry has no 
-a and anyone can use Ctrl-Alt-Del !!!)

Anyway, the person I e-mailed (from the man page itself) suggested I use 
'sudo' and this appears to work fine. 

Owen

On Monday 11 December 2000 11:25 pm, you wrote:
> > I want to allow non-root users to shutdown and reboot the PC. According
> > to the shutdown man page :
> >
> >        If shutdown  is  called with the -a argument (add this to the
> >        invocation of shutdown in /etc/inittab), it checks to  see
>
> - my /etc/inittab file contains...
>     # Trap CTRL-ALT-DELETE
>     ca::ctrlaltdel:/sbin/shutdown -a -t3 -r now
>
> >        if  the file /etc/shutdown.allow is present.  It then com�
>
>     # cat /etc/shutdown.allow
> root
> dwoods
>
> Thanks... Dan.

Reply via email to