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
mechanismChange or reencrypt the secret key for the specified mechanism. (Mechanisms are those allowed by nisauthconf(1).)
-s
databaseUpdate the given database, which is one of files
, nis
, or nisplus
.