Previous Table of Contents Next


Deleting Entries from NIS+ Automount Maps

You can delete rows from NIS+ automount maps by using the nistbladm -r command and specifying one of the columns.

This is the syntax for the nistbladm -r option:

nistbladm -r column= table-name.domain-name.

For NIS+ automount tables, the more specific syntax is the following:

nistbladm -rcolumn= auto_name.org_dir.domain-name.

If you create an incorrect entry, you can delete it. The administrator who created the key=bin value=auto_local entry in the NIS+ auto_master map could have deleted the entry as follows and then created a new one:

oak% niscat -v auto_master.org_dir.sun.COM.
bin  auto_local
/-  auto_direct
oak% nistbladm -r key=bin auto_master.org_dir.sun.COM.
oak% niscat -v auto_master.org_dir.sun.COM.
/-  auto_direct
oak% nistbladm -a key=/bin value=auto_local auto_master,org_dir.sun.COM.
oak% niscat -v auto_master.org_dir.sun.COM.
bin  auto_local
/-  auto_direct
oak%


Previous Table of Contents Next