password - Setting root back to default status - Ask Ubuntu
based on ubuntu online documentation, administrative root account disabled default giving password matches no possible encrypted value.
i mistakenly gave root account password , place disabled state. i've used following command:
sudo usermod -e 1 root
is right way wanted do?
(note don't want lock root account, if i'm not mistaken, be: sudo passwd -l root
).
technically no. have done mark account expired, still has same password. passwd -l
modifies password hash prefixing with, iirc, exclamation point. prevents password matching hash, exclamation point can removed unlock account , restore previous password.
either method has effect of preventing logging in root, practically speaking, good.
Comments
Post a Comment