[Solved]]synaptic broken after setting root password

Archived topics about LMDE 1 and LMDE 2
Locked
ddreamer

[Solved]]synaptic broken after setting root password

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

Re: synaptic broken after setting root password

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

Re: synaptic broken after setting root password

Post by ddreamer »

Thank you. You helped me a lot.
Locked

Return to “LMDE Archive”