[Solved]]synaptic broken after setting root password

Questions about applications and software
Forum rules
Before you post please read how to get help

[Solved]]synaptic broken after setting root password

Postby ddreamer on Thu Aug 23, 2012 1:16 pm

I used LMDE 201204 with default settings. Hence, the root account is passwordless.

synaptic is launched from the "Menu". An administrative password is asked to gain root privilage to manage packages. My password is accepted as the administrative password.

Somehow, I set a password for the root, the required password became the root's password. I want to revert it back to my own password, so I edit /etc/shadow to clear the password field of the root. No matter the field is omitted (not any byte, flanked by colons) or filled in with a single '*', my password failed to be accepted as the administrative password to launch synaptic.

Thank you in advance.
Last edited by ddreamer on Fri Aug 24, 2012 8:29 am, edited 1 time in total.
ddreamer
Level 1
Level 1
 
Posts: 12
Joined: Thu Aug 23, 2012 11:46 am

Linux Mint is funded by ads and donations.
 

Re: synaptic broken after setting root password

Postby grizzler on Thu Aug 23, 2012 4:38 pm

ddreamer wrote:I used LMDE 201204 with default settings. Hence, the root account is passwordless.

Not on Debian it isn't. When you install LMDE, root is given the same password as the user.

Somehow, I set a password for the root, the required password became the root's password. I want to revert it back to my own password, so I edit /etc/shadow to clear the password field of the root. No matter the field is omitted (not any byte, flanked by colons) or filled in with a single '*', my password failed to be accepted as the administrative password to launch synaptic.

Synaptic is run with su-to-root or equivalent, so it requires root's password.
Use sudo passwd to set a new root password.
grizzler
Level 4
Level 4
 
Posts: 465
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: synaptic broken after setting root password

Postby ddreamer on Fri Aug 24, 2012 8:29 am

Thank you. You helped me a lot.
ddreamer
Level 1
Level 1
 
Posts: 12
Joined: Thu Aug 23, 2012 11:46 am


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 4 guests