Main index | Section 1 | 日本語 | Deutsch | Options |
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 utility prompts for the new password twice in order to detect typing errors.
The total length of the password must be less than _PASSWORD_LEN (currently 128 characters).
Once the password has been verified, passwd 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, pwd_mkdb(8) is used to update the password databases. | |
When changing local or NIS password, the next password change date is set according to "passwordtime" capability in the user's login class.
To change another user's Kerberos password, one must first run kinit(1) followed by passwd. The super-user is not required to provide a user's current password if only the local password is modified.
When changing an NIS password, unprivileged users are required to provide their old password for authentication (the rpc.yppasswdd(8) 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 anyone's 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:
| |
Override Ns checking heuristics and forces it into NIS mode. | |
| |
When NIS is enabled, the
| |
| |
Specify what domain to use when changing an NIS password. By default, passwd 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 passwd command needs to be told what domain to operate on. | |
| |
Specify the name of an NIS server.
This option, in conjunction
with the
| |
| |
Do not automatically override the password authentication checks for the super-user on the NIS master server; assume "old" mode instead. This flag is of limited practical use but is useful for testing. | |
/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 |
UNIX password security,
, ,PASSWD (1) | February 14, 2014 |
Main index | Section 1 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps. | ” |
— The Unix Haters' handbook |