This section contains procedures for starting and stopping Server for NIS and Password Synchronization.
In this section
To start Server for NIS
Note | |
Server for NIS is enabled by default following installation. To change the Server for NIS service startup type to Automatic, use the following procedure. |
To set the Server for NIS service startup type to Automatic |
Log on to the computer as a member of the Administrators group on which you want to run Server for NIS.
On the Start menu, click Run, type services.msc, and then click OK to open the Services MMC.
-- or --
On the Start menu, click Administrative Tools, then click Services to open the Services MMC.
In the results pane, double-click Server for NIS.
On the General tab of the Server for NIS Properties dialog box, select Automatic from the Startup type drop-down menu.
Click OK. Close the Services MMC.
Using the Windows interface
To start Server for NIS by using Windows |
Open the Identity Management for UNIX management console.
To open Identity Management for UNIX, click Start, point to All Programs, point to Identity Management for UNIX, and then click Identity Management for UNIX.
If necessary, connect to the computer you want to manage.
Right-click Server for NIS, and then click Start.
Using a command line
To start Server for NIS by using a command line |
At a command prompt, type:
nisadmin [server] start [–u user [–p password]]
The following table describes the arguments used with the nisadmin command to start Server for NIS.
Argument | Description |
---|---|
server |
The name of the server you want to start. |
user |
The name of the user who has administrative permissions on the server to be started, if different from the current user. |
password |
The password of the user who has administrator permissions on the server to be started, if different from the current user. If you type a user name but omit the password, you will be prompted for the password. |
Note | |
To view the complete syntax for this command, at a command prompt, type the following: nisadmin /? |
To stop Server for NIS
Using the Windows interface
To stop Server for NIS by using Windows |
Open the Identity Management for UNIX management console.
To open Identity Management for UNIX, click Start, point to All Programs, point to Identity Management for UNIX, and then click Identity Management for UNIX.
If necessary, connect to the computer you want to manage.
Right-click Server for NIS, and then click Stop.
Using a command line
To stop Server for NIS by using a command line |
At a command prompt, type:
nisadmin [server] stop [–u user [–p password]]
The following table describes the command arguments used with the nisadmin command to stop Server for NIS.
Argument | Description |
---|---|
server |
The name of the server you want to stop. |
user |
The name of the user who has administrator permissions on the server to be stopped, if different from the current user. |
password |
The password of the user who has administrator permissions on the server to be stopped, if different from the current user. If you type a user name but omit the password, you will be prompted for the password. |
Note | |
To view the complete syntax for this command, at a command prompt, type the following: nisadmin /? |
To start the Password Synchronization daemon
To start the Password Synchronization daemon |
Run the single sign-on daemon (SSOD).
Note | |
There is no other method for this procedure. |
The sso.conf file must be in the /etc/ directory.
If you see no errors, the daemon is running. If any failures occur during the initialization of the daemon, an error message is displayed on the console. Errors may also be logged to the Syslog file.
If you want the Password Synchronization service to start automatically, add the single sign-on daemon (SSOD) to your system startup files (typically Rc.local). This will start SSOD as root.
To stop the Password Synchronization daemon
To stop the Password Synchronization daemon |
Send the process a TERM signal by typing and entering the following at a command line:
kill –term pid
where pid is the process identifier of the Password Synchronization single sign-on daemon (SSOD).
Special considerations for starting or stopping Server for NIS
When Server for NIS is stopped, it does not respond to Network Information Service (NIS) requests from clients, including requests for password changes.
When Server for NIS is stopped, you can continue to make changes to NIS map data by using Active Directory Users and Computers.
UNIX-based computers respond differently when Server for NIS is stopped, however. If the UNIX-based NIS server has failed, changes to maps made by using the make utility are not updated in the NIS database.
Additionally, when Server for NIS is stopped, NIS map changes are not propagated to UNIX-based subordinate NIS servers. However, subordinate NIS servers running on Windows-based Active Directory domain controllers continue to receive updates.