Article Number
000002007
Applies To
RSA Product Set: Security Analytics
RSA Product/Service Type: SA Core Appliance
RSA Version/Condition: 10.x
Platform: CentOS
O/S Version: 6
Issue
While trying to boot into the single-user mode, the console prompts to enter the password for the root password and one cannot proceed further if the root password is forgotten.
Resolution
Please follow the steps below to boot into single-user mode without the password.
1. Reboot the host.
2. Press p and enter the password (netwitness) at the GRUB menu.
3. Press a to modify the current kernel settings.
4. Delete all to the right of 'quiet' inclusive.
5. Add 'init=/bin/bash' without the quotes to the end of the line.
6. Hit enter to boot into the bash.
7. Run the following command to make the / partition writeable.
mount -o remount,rw /
8 Modify /etc/sysconfig/init to change
/sbin/sulogin
to
/sbin/sushell
9. Repeat the step 1 to 4.
10. Add '1' without the quote to the end of the line.
11. Hit enter to boot into single-user mode. Note that entering the password is not required.
12. Revert the change on /etc/sysconfig/init after performing required tasks.