Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nissetup(8) [osf1 man page]

nissetup(8)						      System Manager's Manual						       nissetup(8)

NAME
nissetup, ypsetup - Sets up the Network Information Service (NIS) environment SYNOPSIS
/usr/sbin/nissetup /usr/sbin/ypsetup DESCRIPTION
The nissetup (formerly ypsetup) script configures and runs NIS on your system. You can use nissetup to initially set up your NIS configura- tion, to change your current NIS configuration, or to remove your NIS configuration. NIS provides a distributed data lookup service for sharing data among networked systems. Before running nissetup, make sure that your system is connected to a local area network and that the network is configured and running. You must know the name of your NIS domain and your system's role in the domain (master server, slave server, or client). Security Note You invoke nissetup from the SysMan Menu. See sysman(8) for more information. When using the nissetup script to set up a NIS server that is running with enhanced security, you must answer yes to the question about locking the domain name and authorized servers (the ypbind -S option). If you are setting up a master server, the server is bound to itself (done by default). If you are setting up a slave server, the server is bound to itself done by default) and optionally to the master server and any other slave servers. If your system will be the master server for your NIS domain, be sure no other master exists for your domain and that the NIS database files are in the /var/yp/src directory. Note Remove the root entry, if it exists, from the passwd database file. If your system be will be a slave server or client, be sure a master server is already set up for your NIS domain. FILES
Specifies the command pathname NIS parameters pertinent to a specific system Default NIS Databases In the /var/yp/src directory, the default databases are: Group database Host database Sendmail alias database Network group aliases data- base Network database Password database Protocol database RPC database Service database SEE ALSO
Commands: domainname(1), ypwhich(1), svcsetup(8), sysman(8), sysman_station(8), ypbind(8), yppasswdd(8), ypserv(8), ypxfr(8) Files: svc.conf(4) Networking: nis_intro(7), nis_manual_setup(7) Network Administration nissetup(8)

Check Out this Related Man Page

ypmake(8)						      System Manager's Manual							 ypmake(8)

NAME
ypmake - rebuild Network Information Service (NIS) database using the make command SYNOPSIS
cd /var/yp make [options] [map] OPTIONS
The options argument can be used to override the default values of three special variables used by make: Instructs make to use the source files in the specified directory. The default is /var/yp/src. Instructs make to construct a domain other than the master's default domain. The DOM variable in the /var/yp/Makefile file must be set to the domain name before running make. If you run ypsetup, the DOM variable is set when you specify a domain name. Specifies the database routines used to store NIS maps. The choices are: btree -- Recommended when creating and maintaining very large maps. dbm/ndbm -- For backward compatibility. This is the default. hash -- A potentially quicker method for managing small maps. When non-null inhibits updating of the new database files using the yppush(8) function. The default is the null string. To override the default values of these special variables, an options argument format of special_variable = value is used. See the EXAM- PLES section for an example. The map argument supplied on the command line instructs make to update only the specified map. The specified maps are those located at /var/yp/{domain}, where {domain} is the NIS domain name. Some typical entries for the map argument are passwd, hosts, and networks. Typing make passwd creates and updates the NIS password database, if it is out of date. The make command distributes the updated password database to the slave servers using yppush(8). Therefore, typing make host or make networks creates and updates the host and network files, /var/yp/src/hosts and /var/yp/src/networks, respectively, on the master and slave servers. See ypfiles(4) and ypserv(8) for an overview of NIS. DESCRIPTION
The make command uses the /var/yp/Makefile file to build an NIS database. With no arguments, make creates databases for any NIS maps that are out-of-date, and then executes yppush(8) to notify slave servers that there has been a change. Note Execute the make command only at an NIS master server machine. If it is executed from either a slave server or an NIS client machine, the created changes will only be overwritten when the next NIS master server machine update, using ypxfr(8), is performed. RESTRICTIONS
You must use the same database format for each map in a domain. In addition, a server serving multiple NIS domains must use the same data- base format for all domains. Although a Tru64 UNIX NIS server that takes advantage of btree files will be able to store very large maps, NIS slave servers that lack this feature might have a much smaller limit on the number of map entries they can handle. It may not be possible to distribute very large maps from a Tru64 UNIX NIS master server to a slave server that lacks support for very large maps. NIS clients are not affected by these enhancements. EXAMPLES
This example causes make to create a password NIS map for the domain NewDomain instead of for the default domain: make DOM=NewDomain passwd SEE ALSO
Commands: make(1), makedbm(8), yppush(8), ypserv(8), ypxfr(8) Files: ypfiles(4) ypmake(8)
Man Page