How to Reset Root Password in Ubuntu 14.04 LTS

2014-10-17 6

Hello Everyone,

How to Reset New Root Passwd or 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

Thanking You
Hope U Like it....

Free Traffic Exchange