HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
n
nisaddcred(1M) nisaddcred(1M)
added from the domain server for its clients, then domainname should be specified. The caller should have
adequate permissions to create entries in the
cred.org_dir
table.
The system administrator can add a DES credential for the same user:
nisaddcred -p unix.2970@some.domain \
-P fredw.some.domain. des
Here, 2970 is the UID assigned to the user,
fredw. some.domain comes from the user’s home
domain, and
fredw comes from the password file. Note that DES credentials can be added only after the
LOCAL credentials have been added.
Note that the secure RPC netname does not end with a dot (‘‘.’’), while the NIS+ principal name (specified
with the -P option) does. This command should be executed from a machine in the same domain as the
user.
Add a machine’s DES credentials in the same domain:
nisaddcred -p unix.foo@some.domain \
-P foo.some.domain. des
Note that no LOCAL credentials are needed in this case.
Add a LOCAL entry with the UID of the current user and the NIS+ principal name of
tony.some.other.domain
:
nisaddcred -P tony.some.other.domain. local
You can list the cred entries for a particular principal with nismatch(1).
WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported.
LDAP is the recommended replacement for NIS+. HP fully supports the industry standard naming ser-
vices based on LDAP.
AUTHOR
nisaddcred was developed by Sun Microsystems, Inc.
SEE ALSO
chkey(1), keylogin(1), nis+(1), nischmod(1), nischown(1), nismatch(1), nistbladm(1), nisclient(1M),
nispopulate(1M), nis_local_names(3N), rpc_clnt_auth(3N), secure_rpc(3N), nis_objects(3N), nis_groups(3N).
NOTES
The cred.org_dir NIS+ table replaces the maps publickey.byname and netid.byname used in NIS (YP).
HP-UX 11i Version 1: September 2005 − 3 − Hewlett-Packard Company Section 1M−−601