HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
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 principalwith nismatch(1).
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 Release 11i: December 2000 3 Section 1M579
___
___