System Administration Guide: Naming and Directory Services (NIS+)

nistbladm and NIS+ Column Values

Column values are used to identify individual entries in tables using the format:


columname="value", \
 columnname="value", ...

Where:

For example, suppose you had a hosts table that listed machine names and IP addresses.

Table 19–2 Example NIS+ Hosts Table

IP address 

name 

aliases 

172.22.168.4

altair

 

172.22.168.119

deneb

 

mail

172.22.168.120

regulus

dnsmaster

172.22.168.121

regulus

dnsmaster

172.22.168.11

sirius

 

In this example, your could identify the altair entry (row) in three different ways using the column=value of:

But notice in the table above that the machine regulus is multi-homed and has two IP addresses. In that case, the column=value of host=regulus identifies two rows.

To identify just the first regulus row, you would enter either:


Note –

Some nistbladm operations require that you enter a column=value pair for every column in the table.