nisadmin - Windows command-line utility to administer Server for NIS


nisadmin [computer] [-u usr [-p pword]]
nisadmin [computer] [-u usr [-p pword]] mkmaster -d domain 
nisadmin [computer] [-u usr [-p pword]] mkslave -d domain -m server 
nisadmin [computer] [-u usr [-p pword]] config option[...]
nisadmin [computer] [-u usr [-p pword]] syncall 
nisadmin [computer] [-u usr [-p pword]] start 
nisadmin [computer] [-u usr [-p pword]] stop 
nisadmin [computer] [-u usr [-p pword]] pause 
nisadmin [computer] [-u usr [-p pword]] continue 
nisadmin [computer] [-u usr [-p pword]] encryptiontype 
		 -d domain {crypt | md5}


The nisadmin Windows command-line utility administers Server for NIS on the local computer or on a remote computer running Windows Services for UNIX version 3.0. If you are logged on with an account that does not have the required privileges, you can specify a user name and password of an account that does. The action performed by nisadmin depends on the command argument you supply.

In addition to specific command arguments, nisadmin accepts the following options and arguments:

Specifies the remote computer you want to administer. You can specify the computer using a WINS or DNS name, or by Internet Protocol (IP) address.
-u usr
Specifies the user name of the user whose credentials are to be used. It might be necessary to add the domain name to the user name in the form domain\username.
-p pword
Specifies the password of the user specified using the -u option. If you specify the -u option but omit the -p option, you are prompted for the user's password.

The specific action that nisadmin performs depends on the command argument you specify:

Changes a subordinate (slave) server to a master server. The following option and argument are required when you use mkmaster:
-d domain
Specifies the name of the domain for which the change is being made.
Changes a master server to a subordinate (slave) server. The following options and arguments are required when you use mkslave:
-d domain
Specifies the name of the domain for which the change is being made.
-m server
Specifies the name of the domain controller to be promoted to master server.
Configures service parameters. You must supply one or more of the following options when you use config:
Specifies the interval at which the service checks changes to Network Information Service (NIS) maps in Active Directory and propagates them to secondary NIS servers for all domains, in days, hours, and minutes. If hh is specified, hh must be in the range 0-23 and mm must be in the range 0-59.
logging={n[ormal] | v[erbose]}
Specifies the amount of information to be available in event logs. Specify normal (or n) to log only failure events; specify verbose (or v) to log failure, warning, and success events.
Synchronizes changed maps with subordinate servers immediately.
Starts the Server for NIS service.
Stops the Server for NIS service.
Pauses the Server for NIS service.
Continues running the Server for NIS service.
Specifies the method used to encrypt UNIX passwords for the specified domain. For domains whose UNIX computers are running only Linux versions 6.2 or 7.0, this value can be either md5 or crypt. For domains containing one or more UNIX computers running any other operating system, this value must be crypt (the default). All computers in the domain must use the same method.

If you do not supply a command argument, nisadmin displays the current Server for NIS settings.


Server for NIS