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:

  • -d domain   Specifies the name of the domain for which the change is being made.

mkslave

Changes a master server to a subordinate (also known as 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.

config

Configures service parameters. You must supply one or more of the following options when you use config:

  • pushint=[[days:]hh:]mm   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.

addserver -d domain -m server

Add the specified computer as a subordinate server. The following options and arguments are required when you use addserver.

  • -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 added as a subordinate server.

delserver -d domain -m server

Remove the specified subordinate server. The following options and arguments are required when you use delserver.

  • -d domain   Specifies the name of the domain for which the change is being made.

  • -m server   Specifies the name of the subordinate server to be removed.

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.

See Also