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

Post your update and upgrade related errors here
Forum rules
Before you post please read how to get help

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

Postby juanb on Tue Oct 02, 2012 9:27 am

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 juanb on Wed Oct 03, 2012 10:38 am, edited 1 time in total.
juanb
Level 1
Level 1
 
Posts: 4
Joined: Mon Aug 09, 2010 11:25 am

Linux Mint is funded by ads and donations.
 

Re: Changed root password now I want it back!

Postby DrHu on Tue Oct 02, 2012 2:49 pm

http://www.computerhope.com/unix/upasswor.htm
--well I might not use the -l option (locks password)
User avatar
DrHu
Level 17
Level 17
 
Posts: 7033
Joined: Wed Jun 17, 2009 8:20 pm

Re: Changed root password now I want it back!

Postby juanb on Tue Oct 02, 2012 8:53 pm

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
Level 1
Level 1
 
Posts: 4
Joined: Mon Aug 09, 2010 11:25 am

Re: Changed root password now I want it back!

Postby juanb on Wed Oct 03, 2012 10:38 am

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!
juanb
Level 1
Level 1
 
Posts: 4
Joined: Mon Aug 09, 2010 11:25 am


Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 6 guests