Manual Reference Pages - YPPASSWD (1)
- modify a users password
utility changes the users local, Kerberos, or NIS password.
If the user is not the super-user,
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.
utility prompts for the new password twice in order to detect typing errors.
The total length of the password must be less than
(currently 128 characters).
Once the password has been verified,
communicates the new password information to
the Kerberos authenticating host.
The following option is available:
Cause the password to be updated only in the local
password file, and not with the Kerberos database.
When changing only the local password,
is used to update the password databases.
When changing local or NIS password, the next password change date
is set according to
capability in the users login class.
To change another users Kerberos password, one must first
The super-user is not required to provide a users current password
if only the local password is modified.
utility has built-in support for NIS.
If a user exists in the NIS password
database but does not exist locally,
automatically switches into
If the specified
user does not exist in either the local password database or the
NIS password maps,
returns an error.
When changing an NIS password, unprivileged users are required to provide
their old password for authentication (the
daemon requires the original password before
it will allow any changes to the NIS password maps).
This restriction applies even to the
super-user, with one important exception: the password authentication is
bypassed for the super-user on the NIS master server.
This means that
the super-user on the NIS master server can make unrestricted changes to
anyones NIS password.
The super-user on NIS client systems and NIS slave
servers still needs to provide a password before the update will be processed.
The following additional options are supported for use with NIS:
checking heuristics and forces
it into NIS mode.
When NIS is enabled, the
flag can be used to force
This flag can be used to change the entry
for a local user when an NIS user exists with the same login name.
For example, you will sometimes find entries for system
users such as
in both the NIS password maps and the local user database.
will try to change the NIS password.
flag can be used to change the local password instead.
Specify what domain to use when changing an NIS password.
assumes that the system default domain should be used.
This flag is
primarily for use by the superuser on the NIS master server: a single
NIS server can support multiple domains.
It is also possible that the
domainname on the NIS master may not be set (it is not necessary for
an NIS server to also be a client) in which case the
command needs to be told what domain to operate on.
Specify the name of an NIS server.
This option, in conjunction
option, can be used to change an NIS password on a non-local NIS
When a domain is specified with the
is unable to determine the name of the NIS master server (possibly because
the local domainname is not set), the name of the NIS master is assumed to
This can be overridden with the
The specified hostname need not be the name of an NIS master: the
name of the NIS master for a given map can be determined by querying any
NIS server (master or slave) in a domain, so specifying the name of a
slave server will work equally well.
Do not automatically override the password authentication checks for the
super-user on the NIS master server; assume
flag is of limited practical use but is useful for testing.
the user database
a Version 7 format password file
temporary copy of the password file
login class capabilities database
UNIX password security
command is really only a link to
command appeared in
AT&T v6 .
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.