chkey(1)chkey(1)NAMEchkey - change user's secure RPC key pair
[ ] [
is used to change a user's secure RPC public key and secret key pair.
prompts for the old secure-rpc password and verifies that it is correct
by decrypting the secret key.
If the user has not already used to decrypt and store the secret key
with registers the secret key with the local daemon. If the secure-rpc
password does not match the login password, prompts for the login pass‐
word. uses the login password to encrypt the user's secret Diffie-
Hellman (192 bit) cryptographic key.
ensures that the login password and the secure-rpc password are kept
The key pair can be stored in the file (see publickey(4)), the NIS map,
or entries in the LDAP directory. If a new secret key is generated, it
will be registered with the local daemon.
If the source of the is not specified with the option, consults the
entry in the name service switch configuration file (see nss‐
witch.conf(4)). If the entry specifies one and only one source, then
will change the key in the specified name service. However, if multi‐
ple name services are listed, cannot decide which source to update and
will display an error message. The user should specify the source
explicitly with the option.
Non root users are not allowed to change their key pair in the file.
Re-encrypt the existing secret key with the user's
Update the NIS database.
Update the database.
Update the LDAP database.
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is sup‐
ported. LDAP is the recommended replacement for NIS+. HP fully sup‐
ports the industry standard naming services based on LDAP.
was developed by Sun Microsystems, Inc.
FILESSEE ALSOkeylogin(1), keylogout(1), keyserv(1M), newkey(1M), nsswitch.conf(4),