How to Reset Root Password in Redhat Linux 6 or 7 - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Monday, August 4, 2014

How to Reset Root Password in Redhat Linux 6 or 7


Hello Everyone,

In this tutorial,

Let us Install Reset Root Password on Redhat Linux 6 or 7 -- 64Bit or 32Bit

     Note :- Watch Next Video on How to Reset Root Password in CentOS 7
https://www.youtube.com/watch?v=ljj3ebPUd8s&list=PLmMAzSMza_1c8iKqez6CJlvJ-AJEi1Rm4

     Note :- Watch Next Video on How to Reset Root Password in Fedora 21, 20

Procedure…..

Fix Broken Sudo.......

Errors that you are getting..........

Error 1:-  you may notice an error saying you're not in the sudoers file and the incident is going to be reported.

Error 2:-  sorry user usuario is not allowed to execute '/usr/bin/passwd root' as root on.

Cause and symptoms :-

the /etc/sudoers file has been altered to no longer allow users in the admin group to escalate privilege

the permissions on the /etc/sudoers file are changed to something other than 0440
a user who should not have been has been taken out of the admin group.

By above error and cause can be done by following steps.....

To Reset Root Passwd

step1 :- Restart your server or desktop

step2 :- press continue shift untill boot menu show

step3 :- select ubuntu generic second option press Enter

step4 :- then select root shell press Enter

step5 :- type mount -o rw,remount /

step6 :- sudo passwd root or passwd root
           assign passwd and then repeat again the same passwd

Note :- in place of root you can set your name,hostname any name that u assign during installation OR Login.

You can also Create NEW USER
step7 :- sudo adduser ubuntu and give new passwd

NOTE :- For Any Clarification Please Below

Comment,
Like and
Share  us  and  help us to spread.

####--------------------------------------------------------------------------------------####
Website    :-   http://www.cloudnetwork.in
Twitter     :-   http://twitter.com/itcloudnet
Skype Id  :-   cloud.network1
E-Mail Id :-   itcloudnet@gmail.com
####----------------------------------------------------------------------------------------####                         
Thanking You
Hope U Like it........