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

The nisln Command

The nisln command creates symbolic links between NIS+ objects such as tables and directories. All NIS+ administration commands accept the -L flag, which directs them to follow links between NIS+ objects.


Note –

Do not link table entries. Tables may be linked to other tables, but do not link an entry in one table to an entry in another table.


To create a link to another object (table or directory), you must have modify rights to the source object; that is, the one that will point to the other object or entry.


Caution – Caution –

Never link a cred table. Each org_dir directory should have its own cred table. Do not use a link to some other org_dir cred table.


Syntax

To create a link, use:


nisln source target
Table 19–9 nisln Options

Option 

Description 

-L

Follow links. If the source is itself a link, the new link will not be linked to it, but to that link's original source.

-D

Defaults. Specify a different set of defaults for the linked object. Defaults are described in Specifying Nondefault Security Values at Creation Time.

Creating a Link

To create a link between objects such as tables and directories, specify both object names: first the source, and then the target. Do not link table entries.


nisln source-object target-object