NFS Services Administrator's Guide
Configuring and Administering NIS+
Administering NIS+
Chapter 5 241
To Add an Entry with nisaddent
1. Issue the following command to dump the NIS+ table to a temporary
file:
nisaddent -d table_type > filename
Do not include “org_dir” in the table type. The following example
dumps the group.org_dir table to tempfile:
nisaddent -d group > tempfile
To find out the table type for a table, issue the niscat -o tablename
command. Type man 1 niscat for more information.
2. Use a text editor to add an entry to the temporary file.
3. Issue the following command to merge the contents of the temporary
file into the NIS+ table:
nisaddent -m -f filename table_type
For example, the following command merges the contents of
tempfile into the group.org_dir table:
nisaddent -m -f tempfile group
For more information, type man 1M nisaddent at the HP-UX prompt.