How to Secure "Single User Mode" in Redhat Linux :
------------------------------ ------------------------------ -----------------
May be Most of you are already know about the single user mode security by entering password in /etc/grub.conf file.
So there is another method for securing the single user mode
1. Open a file in your terminal.
[root@desktop10 Desktop]# vim /etc/sysconfig/init
2. Go to the last line of file and look for the entry.
Edit the file /etc/sysconfig/init & replace 'SINGLE=/sbin/sushell' with '/sbin/sulogin' as shown below :
SINGLE=/sbin/sulogin
3. save the file and reboot the system then follow the procedure of go entering into single user mod.
before entering into single user mod it will ask for the root password.
------------------------------
May be Most of you are already know about the single user mode security by entering password in /etc/grub.conf file.
So there is another method for securing the single user mode
1. Open a file in your terminal.
[root@desktop10 Desktop]# vim /etc/sysconfig/init
2. Go to the last line of file and look for the entry.
Edit the file /etc/sysconfig/init & replace 'SINGLE=/sbin/sushell' with '/sbin/sulogin' as shown below :
SINGLE=/sbin/sulogin
3. save the file and reboot the system then follow the procedure of go entering into single user mod.
before entering into single user mod it will ask for the root password.
0 comments :
Post a Comment