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

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

Contents


 keylogin(1)                                                     keylogin(1)




 NAME    [Toc]    [Back]
      keylogin - decrypt and store secret key with keyserv

 SYNOPSIS    [Toc]    [Back]
      /usr/bin/keylogin [ -r ]

 DESCRIPTION    [Toc]    [Back]
      The keylogin command prompts for a password, and uses it to decrypt
      the user's secret key. The key may be found in the /etc/publickey file
      (see publickey(4)) or the NIS map ``publickey.byname'' or the NIS+
      table ``cred.org_dir'' in the user's home domain.  The sources and
      their lookup order are specified in the /etc/nsswitch.conf file (see
      nsswitch.conf(4)).  Once decrypted, the user's secret key is stored by
      the local key server process, keyserv(1M).  This stored key is used
      when issuing requests to any secure RPC services, such as NIS+.  The
      program keylogout(1) can be used to delete the key stored by keyserv.

      keylogin will fail if it cannot get the caller's key, or the password
      given is incorrect. For a new user or host, a new key can be added
      using newkey(1M), nisaddcred(1M), or nisclient(1M).

    Options    [Toc]    [Back]
      -r   Update the /etc/.rootkey file.  This file holds the unencrypted
           secret key of the super-user.  Only the super-user may use this
           option.  It is used so that processes running as super-user can
           issue authenticated requests without requiring that the
           administrator explicitly run keylogin as super-user at system
           startup time (see keyserv(1M)).  The -r option should be used by
           the administrator when the host's entry in the publickey database
           has changed, and the /etc/.rootkey file has become out-of-date
           with respect to the actual key pair stored in the publickey
           database.  The permissions on the /etc/.rootkey file are such
           that it may be read and written by the super-user but by no other
           user on the system.

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

 FILES    [Toc]    [Back]
      /etc/.rootkey       Super-user's secret key

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


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
keylogin FreeBSD decrypt and store secret key
keylogout HP-UX delete stored secret key with keyserv
publickey FreeBSD get public or secret key
keylogout FreeBSD delete stored secret key
publickey IRIX retrieve public or secret key
dnskeygen Tru64 Generates public, private, and shared secret keys for DNS Security
dnskeygen FreeBSD generate public, private, and shared secret keys for DNS Security
krb5_decrypt_EncryptedData FreeBSD encrypt and decrypt data
krb5_encrypt_EncryptedData OpenBSD encrypt and decrypt data
krb5_decrypt_EncryptedData OpenBSD encrypt and decrypt data
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service