Page 1 of 1

[Solved]]synaptic broken after setting root password

Posted: Thu Aug 23, 2012 1:16 pm
by ddreamer
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.

Re: synaptic broken after setting root password

Posted: Thu Aug 23, 2012 4:38 pm
by grizzler
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.

Re: synaptic broken after setting root password

Posted: Fri Aug 24, 2012 8:29 am
by ddreamer
Thank you. You helped me a lot.