IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1M > newkey man page

newkey man page

Section 1M - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





System Administration Commands                         newkey(1M)



NAME
     newkey - create a new Diffie-Hellman key pair  in  the  pub-
     lickey database

SYNOPSIS
     newkey -h hostname [-s nisplus | nis | files | ldap]

     newkey -u username [-s nisplus | nis | files | ldap]

DESCRIPTION
     newkey establishes new public keys for users and machines on
     the  network. These keys are needed when using secure RPC or
     secure NFS service.

     newkey prompts for a password  for  the  given  username  or
     hostname and then creates a new public/secret Diffie-Hellman
     192 bit key pair for the user or host.  The  secret  key  is
     encrypted  with  the  given  password.  The  key pair can be
     stored in the /etc/publickey file, the NIS publickey map, or
     the NIS+ cred.org_dir table.

     newkey consults the publickey  entry  in  the  name  service
     switch  configuration  file (see nsswitch.conf(4)) to deter-
     mine which naming service is used to store  the  secure  RPC
     keys.  If  the  publickey entry specifies a unique name ser-
     vice, newkey will add the key in the specified name service.
     However,  if there are multiple name services listed, newkey
     cannot decide which source to update  and  will  display  an
     error  message.  The  user is required to specify the source
     explicitly with the -s option.

     In the case of NIS, newkey should be run by the superuser on
     the  master NIS server for that domain. In the case of NIS+,
     newkey should be run by the superuser on a machine which has
     permission  to  update  the  cred.org_dir  table  of the new
     user/host domain.

     In the case of NIS+, nisaddcred(1M) should be  used  to  add
     new  keys.  newkey  cannot be used to create keys other than
     192-bit Diffie-Hellman.

     In the case of LDAP, newkey should be run by  the  superuser
     on  a  machine  that also recognizes the directory manager's
     bind distinguished name (DN) and password to perform an LDAP
     update for the host.

OPTIONS
     -h hostname     Create a new public/secret key pair for  the
                     privileged   user  at  the  given  hostname.
                     Prompts for a password for the  given  host-
                     name.




SunOS 5.10          Last change: 13 Nov 2003                    1






System Administration Commands                         newkey(1M)



     -u username     Create a new public/secret key pair for  the
                     given  username.  Prompts for a password for
                     the given username.



     -s nisplus      Update the database in the specified source:
     -s nis          nisplus (for NIS+), nis (for NIS), files, or
     -s files        ldap (LDAP). Other sources may be  available
     -s ldap         in the future.






ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsu                     |
    |_____________________________|_____________________________|


SEE ALSO
     chkey(1),   keylogin(1),   nisaddcred(1M),    nisclient(1M),
     nsswitch.conf(4), publickey(4), attributes(5)

NOTES
     NIS+ might not  be  supported  in  future  releases  of  the
     Solaris  operating  system.  Tools to aid the migration from
     NIS+ to LDAP are available in the current  Solaris  release.
     For            more            information,            visit
     http://www.sun.com/directory/nisplus/transition.html.


















SunOS 5.10          Last change: 13 Nov 2003                    2





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:26:19 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

CPAN man page (4333 hits)
(Suse Linux 10.1)

ssh man page (4186 hits)
(Suse Linux 10.1)

adv_cap_autoneg man page (4148 hits)
(Solaris 10 11_06)

sqlite3 man page (4071 hits)
(openSUSE 10.2)

svn man page (3249 hits)
(FreeBSD 6.2)

startproc man page (1908 hits)
(Suse Linux 10.1)

pprosetup man page (1667 hits)
(Solaris 10 11_06)

netcat man page (1613 hits)
(Suse Linux 10.1)

signal man page (1592 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (1558 hits)
(Solaris 10 11_06)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Ski Holidays :: Digital Electronic Design :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum