chage
Quick Reference
Command Name:
chage
Category:
file management
Platform:
Linux/Unix
Basic Usage:
Common Use Cases
- 1
Password policy management
Set password expiration and aging policies
- 2
User account security
Configure security settings for user accounts
- 3
System administration
Manage user account security policies
- 4
Compliance management
Enforce password policies for regulatory compliance
Syntax
chage [OPTION]... [FILE]...
Options
| Option | Description |
|---|---|
-l |
Use a long listing format |
-a |
Show hidden entries starting with . |
-h |
Human-readable sizes |
-R |
List subdirectories recursively |
Examples
How to Use These Examples
The examples below show common ways to use the chage command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.