Force expiry of a Linux Account

Just locking the linux account isn’t enough, since the user can use other methods to login, such as PKI.

The best solution would be to force expire the account:

sudo chage -M 0 username
Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek
This entry was posted in Linux and tagged , , , . Bookmark the permalink.

Leave a comment