*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> chkey (1)              
Title
Content
Arch
Section
 

Contents


 chkey(1)                                                           chkey(1)




 NAME    [Toc]    [Back]
      chkey - change user's secure RPC key pair

 SYNOPSIS    [Toc]    [Back]
      chkey [ -p ] [ -s  nisplus | nis | files ]

 DESCRIPTION    [Toc]    [Back]
      chkey is used to change a user's secure RPC public key and secret key
      pair.  chkey prompts for the old secure-rpc password and verifies that
      it is correct by decrypting the secret key.  If the user has not
      already keylogged in, chkey registers the secret key with the local
      keyserv(1M) daemon.  If the secure-rpc password does not match the
      login password, chkey prompts for the login password.  chkey uses the
      login password to encrypt the user's secret Diffie-Hellman (192 bit)
      cryptographic key.

      chkey ensures that the login password and the secure-rpc password are
      kept the same.

      The key pair can be stored in the /etc/publickey file, (see
      publickey(4)), NIS publickey map or NIS+ cred.org_dir table.  If a new
      secret key is generated, it will be registered with the local
      keyserv(1M) daemon.

      If the source of the publickey is not specified with the -s option,
      chkey consults the publickey entry in the name service switch
      configuration file (see nsswitch.conf(4)).  If the publickey entry
      specifies one and only one source, then chkey will change the key in
      the specified name service.  However, if multiple name services are
      listed, chkey can not decide which source to update and will display
      an error message.  The user should specify the source explicitly with
      the -s option.

      Non root users are not allowed to change their key pair in the
      /etc/publickey file.

    Options    [Toc]    [Back]
      -p             Re-encrypt the existing secret key with the user's
                     login password.

      -s nisplus     Update the NIS+ database.

      -s nis         Update the NIS database.

      -s files       Update the files database.

 AUTHOR    [Toc]    [Back]
      chkey was developed by Sun Microsystems, Inc.

 FILES    [Toc]    [Back]
      /etc/nsswitch.conf



 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 chkey(1)                                                           chkey(1)




      /etc/publickey

 SEE ALSO    [Toc]    [Back]
      keylogin(1), keylogout(1), keyserv(1M), newkey(1M), nisaddcred(1M),
      nsswitch.conf(4), publickey(4).


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
ssh-keygen2 Tru64 On a Secure Shell server, generates the host key pair. On a Secure Shell client, generates the authe...
ssh-keygen Tru64 On a Secure Shell server, generates the host key pair. On a Secure Shell client, generates the authe...
pmap_change_wiring FreeBSD change physical wiring for a map or virtual address pair
ssh-pubkeymgr Tru64 Configures Secure Shell public key user authentication
su Linux Change user ID or become super-user
chfn Linux change user name and information
passwd Linux change user password
chpass FreeBSD add or change user database information
chpass OpenBSD add or change user database information
chsh OpenBSD add or change user database information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service