nisadmin
Applies To: Windows Server 2003 R2
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]] 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 (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:
|
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. Password encryption can only be set to one encryption method at a time. Changing the encryption method invalidates user passwords. All passwords must be reset if the encryption method is changed. |
If you do not supply a command argument, nisadmin displays the current Server for NIS settings.