passwd


passwd

Purpose

Change password.

Syntax

passwd [username]

Options

None

Description

The passwd command changes your password. It prompts for the old password, followed by the new password. If you log in as root, you can change another user’s password by specifying the user name as an argument to the passwd command.