Linux

passwd

CautionChange password

passwd [user]

Changes your own or (as root) another user's password. -l locks, -u unlocks.

Examples

  • passwd taroReset a user's password

Syntax

passwd [-l|-u] [user]

Before you run it

Coordinate before changing shared accounts.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store