[Solved]]synaptic broken after setting root password

Archived topics about LMDE 1
Forum rules
ddreamer
Level 1
Level 1
Posts: 10
Joined: Thu Aug 23, 2012 11:46 am

[Solved]]synaptic broken after setting root password

Postby ddreamer » 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.

grizzler
Level 5
Level 5
Posts: 620
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: synaptic broken after setting root password

Postby grizzler » 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.

ddreamer
Level 1
Level 1
Posts: 10
Joined: Thu Aug 23, 2012 11:46 am

Re: synaptic broken after setting root password

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

Thank you. You helped me a lot.


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 7 guests