passwd -e alice

Category: Administration

passwd -e alice

Force alice to change their password at next login

Forces the user to change their password the very next time they log in. -e means 'expire immediately'.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.