In our previous toutorial i have post , How to go single user mode in RHEL/CentOS-5/6.X .
This toutorial will help you to break root password in linux. First of all you will have to enter in to safe mode of linux then you can reset password.
Step 1 : Go to Single user mode in RHEL/CentOS-5/6.X to enter in to Save mode.
Step 2 : Now check the status of SeLinux. If SeLinux is disabled in system then you can reset root password. If not disable, it show in Enforcing mode .. then change it to Permissive .
Step 3: If SeLinux is showing on Enforcing Mode then run below command.
#setenforce 0
#getenforce
Permissive
Step 4: Change root password.
0 comments:
Post a Comment