PASSWD(1) FreeBSD General Commands Manual PASSWD(1)
NAME
passwd, yppasswd -- modify a user's password
SYNOPSIS
passwd [-l] [user]
yppasswd [-l] [-y] [-d domain] [-h host] [-o]
DESCRIPTION
The passwd utility changes the user's local, Kerberos, or NIS password.
If the user is not the super-user, passwd first prompts for the current
password and will not continue unless the correct password is entered.
When entering the new password, the characters entered do not echo, in
order to avoid the password being seen by a passer-by. The passwd util-
ity prompts for the new password twice in order to detect typing errors.
The new password should be at least six characters long (which may be
overridden using the login.conf(5) ``minpasswordlen'' setting for a
user's login class) and not purely alphabetic. Its total length must be
less than _PASSWORD_LEN (currently 128 characters).
...skipping...
instead. This flag is of limited practical use but is useful for
testing.
FILES
/etc/master.passwd the user database
/etc/passwd a Version 7 format password file
/etc/passwd.XXXXXX temporary copy of the password file
/etc/login.conf login class capabilities database
/etc/auth.conf configure authentication services
SEE ALSO
chpass(1), kinit(1), login(1), login.conf(5), passwd(5), kerberos(8),
kpasswdd(8), pw(8), pwd_mkdb(8), vipw(8)
Robert Morris and Ken Thompson, UNIX password security.
NOTES
The yppasswd command is really only a link to passwd.
HISTORY
A passwd command appeared in Version 6 AT&T UNIX.
FreeBSD 6.2 June 6, 1993 FreeBSD 6.2