chage
Verified for current stable LTS
Chage Command: Set Account Expiration Date
Use for set account expiration date with Chage. Exact CLI syntax to set account expiration date using Chage.
When to use this: Use for set account expiration date with Chage.
Command Syntax
sudo chage -E <YYYY-MM-DD> <username> sudo chage -E <YYYY-MM-DD> <username> Live Command Builder
Final Command
sudo chage -E <YYYY-MM-DD> <username> Command Breakdown
-E- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to set account expiration date using Chage.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Chage Command: Disable Password Expiration
sudo chage -M <-1> <username> Chage Command: Enable Password Expiration 10 Days sudo chage -M <10> <username> Chage Command: Force Password Change On Next Login sudo chage -d <0> <username> Chage Command: List Password Info User chage -l <username> Chage Command: Re Enable User Account sudo chage -E -1 <username>