mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 17:06:02 +02:00
fixes
This commit is contained in:
parent
7e8fc327e5
commit
6453e7e98a
1 changed files with 3 additions and 4 deletions
|
@ -6,9 +6,9 @@
|
||||||
|
|
||||||
`chage -l {{user_name}}`
|
`chage -l {{user_name}}`
|
||||||
|
|
||||||
- Enable password expiration:
|
- Enable password expiration in 10 days:
|
||||||
|
|
||||||
`sudo chage -M {{days_before_password_change}} {{user_name}}`
|
`sudo chage -M {{10}} {{user_name}}`
|
||||||
|
|
||||||
- Disable password expiration:
|
- Disable password expiration:
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
`sudo chage -E {{YYYY-MM-DD}}`
|
`sudo chage -E {{YYYY-MM-DD}}`
|
||||||
|
|
||||||
- Force user to chage password on next log in:
|
- Force user to change password on next log in:
|
||||||
|
|
||||||
`sudo chage -d 0`
|
`sudo chage -d 0`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue