---
# System prepended metadata

title: User Password Change On Next Login

---

# User Password Change On Next Login

## Force Expire Password
```bash=
passwd --expire username
```
This will force user to change password on the next login

## Check Password Status
Run : 
```bash=
chage -l username
```
Output (if not expired):
```bash=
Last password change                                    : May 17, 2021
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
```
Output (if expired):
```bash=
Last password change                                    : password must be changed
Password expires                                        : password must be changed
Password inactive                                       : password must be changed
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
```