[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 4

nissetup Command

Purpose

Initializes an NIS+ domain.

Syntax

/usr/lib/nis/nissetup-Y ] NIS+Domain

Description

The nissetup command initializes a domain to serve clients and to store system administration information. nissetup is a shell script that establishes an NIS+ domain to service clients needing to store system administration information in the domain NIS+Domain. That domain should already exist before executing nissetup (see nismkdir and nisinit for more information on how to create a domain).

An NIS+ domain consists of an NIS+ directory and its subdirectories, org_dir and groups_dir. The org_dir subdirectory stores system administration information and groups_dir stores information for group access control.

nissetup creates the subdirectories org_dir and groups_dir in NIS+Domain. Both org_dir and groups_dir are replicated on the parent domain's server. After the subdirectories are created, nissetup creates the default tables that NIS+ serves:

The nissetup script uses the nistbladm command to create those tables. You can easily customize the script to add site-specific tables to be created at setup time.

Note: Although nissetup creates the default tables, it does not initialize them with data. Use the nisaddent command to accomplish this.

Normally, the nissetup command is executed only once per domain.

Flags

-Y Specifies that the domain is served as both an NIS+ and an NIS domain. The -Y flag makes all the system tables readable for unauthenticated clients; consequently, the domain is less secure.

Related Information

The nisaddent command, the nisinit command, the nismkdir command, and the nistbladm command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]