Troubleshooting > Recovering from root Authentication Failure

Recovering from root Authentication Failure
Use the following procedure if an attempt to login to the console as root brings up the following message.
 
 
 
To Recover from root Authentication Failure
1.
See To Boot in Single User Mode from U-Boot Monitor Mode. The root single user prompt appears as shown in the following screen example.
2.
Open the /etc/nsswitch.conf file for editing.
[root@(none) /]# vi /etc/nsswitch.conf
3.
Search for the uncommented entries for the passwd, shadow and group databases [whose lines do not start with the pound (#) sign].
For example, in the portion of the nsswitch.conf file in the following screen example, no pound (#) signs appear before the entries for the passwd, shadow, and group databases under NISLocal.
 
 
 
4.
Change the search order to files only for the uncommented passwd, shadow, and group databases.
passwd: files
shadow: files
group: files
 
 
 
5.
6.
Open the /etc/portslave/pslave.conf file for editing.
[root@(none) /]# vi /etc/portslave/pslave.conf
7.
Change the conf.authtype parameter back to local.
8.
9.
You should be able to log in as root.
10.

Troubleshooting > Recovering from root Authentication Failure