Makes user alice's account expire on 2026-12-31, after which the account cannot log in even with the correct password. The -E flag takes a YYYY-MM-DD date, or -1 to remove expiry. Useful for temporary accounts and contractors.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.