O'Reilly logo

Linux Pocket Guide, 2nd Edition by Daniel J. Barrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

passwd — stdin  stdout  - file  -- opt  --help  --version

Synopsis

passwd [options] [username]

The passwd command changes a login password, yours by default:

$ passwd

or another user’s password if run by the superuser:

# passwd smith

passwd does have options, most of them related to password expiration. Use them only in the context of a well-thought-out security policy.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required