KEYLOGIN(1) | User Commands | KEYLOGIN(1) |
keylogin - decrypt and store secret key with keyserv
/usr/bin/keylogin [-r]
The keylogin command prompts for a password, and uses it to decrypt the user's secret key. The key can be found in the /etc/publickey file (see publickey(5)) or the NIS map ``publickey.byname'' in the user's home domain. The sources and their lookup order are specified in the /etc/nsswitch.conf file. See nsswitch.conf(5). Once decrypted, the user's secret key is stored by the local key server process, keyserv(8). This stored key is used when issuing requests to any secure RPC services, such as NFS. The program keylogout(1) can be used to delete the key stored by keyserv .
keylogin fails 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(8).
The following options are supported:
-r
/etc/.rootkey
chkey(1), keylogout(1), login(1), nsswitch.conf(5), publickey(5), attributes(7), keyserv(8), newkey(8)
February 25, 2017 | OmniOS |