Wednesday, August 17, 2011

Authentication in single user mode

After a long time i am here with an security trick. Many occasion we need to move into single user mode , which is very simple. But this can be security risk also to overcome this either we can use password in grub boot loader or we can go with following simple solution


---------------------------------------------------
open /etc/inittab file and put following line in this
~~:S:wait:/sbin/sulogin