Page 1 of 1

<SOLVED> Changed root password now I want it back!

Posted: Tue Oct 02, 2012 9:27 am
by juanb
Hi in order to set the mdm theme i put a password to the root account, to take the mdm theme back to mint.

now all the sudos actions ask me for the root password not mmine as it was before

how do i take back the root accout to what it was?

I've tried:

Code: Select all

passwd -dl root
with no result, now i can't run anything as root from graphical interface.
sudo works ok but i suspect that gksu does not.

Thanks in advance!

Re: Changed root password now I want it back!

Posted: Tue Oct 02, 2012 2:49 pm
by DrHu
http://www.computerhope.com/unix/upasswor.htm
--well I might not use the -l option (locks password)

Re: Changed root password now I want it back!

Posted: Tue Oct 02, 2012 8:53 pm
by juanb
DrHu wrote:http://www.computerhope.com/unix/upasswor.htm
--well I might not use the -l option (locks password)
Runing the command without the -l option didn't resolved my problem, thanks anyway.

Re: Changed root password now I want it back!

Posted: Wed Oct 03, 2012 10:38 am
by juanb
well the problem seemed to be gksu.
gksu is an interface for both: su and sudo, while sudo works ok for a normal user wich is in the sudoers list, su only works with root passwd so in order to fix this problem yo have to:

Open gksu-properties (Alt + F2 and type gksu-properties).
or in a console:

Code: Select all

sudo gksu-properties
Then make sure the Authentication mode is set for "sudo".

taked the anwer from this post:

http://askubuntu.com/questions/48215/pa ... -with-sudo

hope it helps!