On one of my machines it's root::somenumber[...]:::
with somenumber[...] being the same as for my actual account (after what appears to be the encrypted passphrase) and the "logcheck" account (after :*:
). On another machine it's root :!:somenumber[...]:::
with somenumber[...] being the same for all accounts until the most recently added ones starting with postfix:*:
.
I didn't enter a root password during installation for both of these machines. However I accidentally set it for one of them and had to remove it again using the passwd -d root
command. I'm running Debian 9.1 with KDE.
What exactly should be in there if I wish for my root account to be locked (I use the sudo
command)? Are those file contents fine?
And related to this would also be this question: how can I view a history of changes to the shadow file including info on which user changed what and when.