Answer the question
In order to leave comments, you need to log in
Can't change sudo passwd password on Ubuntu, what other ways are there to change the password?
When changing the password through passwd and rebooting the VM, the password remains the same, that is, it will not change, what other methods are there for changing the sudo password?
Answer the question
In order to leave comments, you need to log in
see permissions on /etc/shadow for root there should be an entry.
and how the line starting with root changes in the /etc/shadow file after changing the password.
in the second field, the separator ":", the character set must change.
the advice is not to use the user password at all and run the root console through sudo --login
, or even better, use sudo only before those commands that really need elevation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question