There was a thread about preventing ctrl -alt-delete shutdown from unauthorized user. Just happened to read the man page, and here is the extract Vijay shutdown can check to see if an authorized user is logged in on one of the virtual consoles. If shutdown is called with the -a argument (add this to the invocation of shutdown in /etc/inittab), it checks to see if the file /etc/shutdown.allow is present. It then compares the login names in that file with the list of people that are logged in on a virtual console (from /var/run/utmp). Only if one of those authorized users or root is logged in, it will proceed. Otherwise it will write the message shutdown: no authorized users logged in ---------------------------------------------- Find out more about this and other Linux India mailing lists at http://lists.linux-india.org/
