Administrating Linux users with the chage Command
When a system administrator wants see when a user last changed a password or wants to force a user to change it, there is a really nice command to come to the rescue: chage. I created a user called aluno and I started to check for its information: $ sudo chage -l aluno Last password change : Sep 16, 2016 Password expires : never Password inactive : never Account expires : never Minimum number of days between password change : 0 Maximum number of days between password change : 99999 Number of days of warning before password expires : 7 As we see, the user password was last changed on Sep 16, 2016 and it never expires nor gets inactive....