Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newkey(1M) — HP-UX 10.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chkey(1)

keylogin(1)

keylogout(1)

keyserv(1M)

udpublickey(1M)

updaters(1M)

publickey(4)

newkey(1M)

NAME

newkey − create a new key in the publickey database file

SYNOPSIS

newkey -h hostname

newkey -u username

Remarks

The Network Information Service (NIS) was formerly known as Yellow Pages (yp).  Although the name has changed, the functionality of the service remains the same. 

DESCRIPTION

newkey is run by the network administrator on the Network Information Service (NIS) master server to create the public/secret key pair for users and superusers on the network.  These keys are required to use secure RPC or secure NFS. 

newkey prompts the user for the login password of the user specified in username, or the root password of the host given in hostname, and then creates a new public/secret key pair, which is encrypted with the specified password in the publickey database file, /etc/publickey.  newkey invokes udpublickey to update /etc/publickey on its behalf.  (See udpublickey(1M)).

If the nobody entry in the publickey database file, /etc/publickey, has been commented out, only newkey can be used to create a public/secret key pair.  Otherwise, chkey may be used to create the public/secret key pair. 

Options

newkey supports the following options:

-h hostname Create a new public/secret key pair for the superuser at the specified hostname.  Prompts for the root password for the specified machine. 

-u username Create a new public/secret key pair for the username specified by username.  Prompts for the NIS password of the specified username

EXAMPLES

/usr/sbin/newkey

/usr/sbin/keyserv -h hostname

Adding new key for  unix.hostname@domain

New password: xxxxx

Retype password: xxxxx

Please wait for the database to get updated... 

Your new key has been successfully stored away. 

AUTHOR

newkey was developed by Sun Microsystems, Inc. 

FILES

/etc/publickey

SEE ALSO

chkey(1), keylogin(1), keylogout(1), keyserv(1M), udpublickey(1M), updaters(1M), publickey(4)

Hewlett-Packard Company  —  HP-UX Release 10.20:  July 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026