chkey
[
options
]
Solaris only. Prompt for login password and use it to encrypt a new key. See also keylogin
and keylogout
.
-p
Reencrypt the existing secret key with the user's login password.
-m
mechanism
Change or reencrypt the secret key for the specified mechanism. (Mechanisms are those allowed by nisauthconf
(1).)
-s
database
Update the given database, which is one of files
, nis
, or nisplus
.