Permanently disabling NIS
To permanently stop NIS on a machine currently running it,
perform the following:
-
Enter
sh /etc/init.d/nis stop
to disable ypbind and/or ypserv.
-
Edit the file /etc/inet/nis.conf (making a backup copy)
and set the following variables as shown here:
startypbind=0
startypserv=0
startyppass=0
This ensures that the NIS daemons will not be restarted
the next time the machine is rebooted.
To restart NIS, run ypinit.
Alternatively, reinstate the backup copy of
/etc/inet/nis.conf and enter the command
sh /etc/init.d/nis start.
NOTE:
You can use the Client Manager to configure or
unconfigure an NIS client. See
``The Client Manager interface''
for more information.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999