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

Re: harden-doc: chapter 4.8 Restricting system reboots through the console

On Sun, Sep 17, 2006 at 10:50:47AM +0200, Mario Fux wrote:
> > change
> > /sbin/shutdown -t1 -a -r now
> > for /bin/false
> > or anything else you whant to happen with ctrl-alt-delete
> Yes, I know. I seem to be unprecise. In harden-doc is written that when the -a 
> option is included only users in /etc/shutdown.allow are allowed to shutdown 
> or reboot respectively the system by pressing ctrl-alt-delete.

Please read the shutdown(8) manpage:

 Note that if /etc/shutdown.allow is not present, the -a argument is ignored.



Attachment: signature.asc
Description: Digital signature

Reply to: