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

Archived topics about LMDE 1 and LMDE 2
Locked
juanb

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

Post 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!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DrHu

Re: Changed root password now I want it back!

Post by DrHu »

http://www.computerhope.com/unix/upasswor.htm
--well I might not use the -l option (locks password)
juanb

Re: Changed root password now I want it back!

Post 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.
juanb

Re: Changed root password now I want it back!

Post 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!
Locked

Return to “LMDE Archive”