Some additional info on “User account has expired” error

You have to also use “chage”:

sudo passwd -l root
sudo usermod -p ! root
sudo chage -E-1 root

So my previous post about this subject is now obsolete ;)

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment