NFS Services Administrator's Guide
Configuring and Administering NIS+
Administering NIS+
Chapter 5242
To Remove an Entry from an NIS+ Table
To remove an entry from an NIS+ table, follow this procedure, or use
SAM (System Administration Manager). To run SAM, type sam at the
HP-UX prompt.
• Issue the following command from any NIS+ client host:
nistbladm -r column_name=value column_name=value ...
tablename
The following example removes an entry from the hosts table:
nistbladm -r cname=romney addr=15.14.13.12 hosts.org_dir
In the nistbladm -r command, specify as many column values as you
need to identify a single entry. If the criteria you specify identify more
than one entry, NIS+ displays an error. If you want to remove all entries
matching a set of criteria, use the -R option instead of the -r option. The
following example removes both the Local and DES credentials for
principal liz.Eng.Wiz.Com. from the cred table:
nistbladm -R cname=liz.Eng.Wiz.Com. cred.org_dir
To get the names of the columns in a table, issue the following command:
niscat -o tablename.org_dir
You must have destroy permission for the table or for the entries you
want to remove.
For more information, see the following man pages: nistbladm(1),
niscat(1), and sam(1M).