This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
linux:redhat_user [2024/06/27 13:31] manu [User locked] |
linux:redhat_user [2025/06/06 17:13] (current) manu |
||
---|---|---|---|
Line 131: | Line 131: | ||
<cli prompt='#'> | <cli prompt='#'> | ||
[root@linux01 ~]# chage -M 90 myadmin | [root@linux01 ~]# chage -M 90 myadmin | ||
+ | |||
[root@linux01 ~]# chage -l myadmin | [root@linux01 ~]# chage -l myadmin | ||
- | Last password change : Jul 22, 2019 | + | Last password change : May 23, 2025 |
- | Password expires : Oct 20, 2019 | + | Password expires : May 23, 2026 |
Password inactive : never | Password inactive : never | ||
Account expires : never | Account expires : never | ||
- | Minimum number of days between password change : 7 | + | Minimum number of days between password change : 0 |
Maximum number of days between password change : 90 | Maximum number of days between password change : 90 | ||
- | Number of days of warning before password expires : 7 | + | Number of days of warning before password expires : 8 |
+ | |||
+ | [root@linux01 ~]# lchage -l myadmin | ||
+ | Account is not locked. | ||
+ | Minimum: 0 | ||
+ | Maximum: 90 | ||
+ | Warning: 8 | ||
+ | Inactive: Never | ||
+ | Last Change: 05/23/2025 | ||
+ | Password Expires: 05/23/2026 | ||
+ | Password Inactive: Never | ||
+ | Account Expires: Never | ||
</cli> | </cli> | ||