Your Question: How Do I Unexpire a Linux User?
Contents How Do I Unexpire a User in Linux? Linux Check User Password Expiration Using Chage Open the Terminal Application. Type Chage -L userName Command to...
Contents
How do I Unexpire a user in Linux?
Linux check user password expiration using chage
- Open the terminal application.
- Type chage -l userName command to display password expiration information for Linux user account.
- The -l option passed to the change show account aging information.
- Check tom user’s password expiry time, run: sudo chage -l tom.
Must Read
How do I turn off password expiration in Linux?
To turn off the password expiration for an user account, set the following:
- -m 0 will set the minimum number of days between password change to 0.
- -M 99999 will set the maximum number of days between password change to 99999.
- -I -1 (number minus one) will set the “Password inactive” to never.