nisadmin
NAME
nisadmin - Windows command-line utility to administer Server for NIS
SYNOPSIS
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]] addserver -d domain -m server nisadmin [computer] [-u usr [-p pword]] delserver -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}
DESCRIPTION
The nisadmin Windows command-line utility administers Server for NIS on the local computer or on a remote computer. 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:
Term | Definition |
---|---|
computer |
Specifies the remote computer you want to administer. You can specify the computer using a Windows Internet Name Service (WINS) or Domain Name System (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:
Term | Definition |
---|---|
mkmaster |
Changes a subordinate (also known as slave) server to a master server. The following option and argument are required when you use mkmaster:
|
mkslave |
Changes a master server to a subordinate (also known as slave) server. The following options and arguments are required when you use mkslave:
|
config |
Configures service parameters. You must supply one or more of the following options when you use config:
|
addserver -d domain -m server |
Add the specified computer as a subordinate server. The following options and arguments are required when you use addserver.
|
delserver -d domain -m server |
Remove the specified subordinate server. The following options and arguments are required when you use delserver.
|
syncall |
Synchronizes changed maps with those on UNIX-based subordinate servers immediately. |
start |
Starts the Server for NIS service. |
stop |
Stops the Server for NIS service. |
pause |
Pauses the Server for NIS service. |
continue |
Continues running the Server for NIS service. |
encryptiontype |
Specifies the method used to encrypt UNIX passwords for the specified domain. For domains whose UNIX-based computers are all running Linux with MD5 encryption, this value can be md5. For domains containing one or more UNIX-based computers running any other operating system or encryption method, 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.