commands
chage — inspect or change password aging
Manages local shadow password aging. -l lists aging data, subject to authorization. It is not a complete view of external identity-provider policy. Example is help only. Example assumes a fresh account lab fixture; VM-only examples require explicit authorization.
Formal Syntax & Structure
linux syntaxlinux
chage [OPTION] LOGINParameters & Attributes
| Name | Type | Description |
|---|---|---|
| -l | option | list aging |
| LOGIN | operand | local account name |
Return Value
exit status and output
Manages local shadow password aging. -l lists aging data, subject to authorization. It is not a complete view of external identity-provider policy.
Working Example
Example Snippetlinux
chage --help >/dev/null && printf "help available\n"