Network Information Service (NIS) B.11.31.02 Administrator's Guide
If you specify a log file with the -l option, ypserv shares the same log file with the
other NIS daemons.
3. Enter the following command to restart the NIS server:
# /sbin/init.d/nis.server start
For more information, see ypserv (1M).
• Configuring ypbind Logging
1. Enter the following commands to stop the NIS client:
# /sbin/init.d/nis.client stop
2. Add the -l logfile option to the YPBIND_OPTIONS variable in the
/etc/rc.config.d/namesvrs file, as follows:
YPBIND_OPTIONS=”-l /var/yp/nis_log”
If you specify a log file with the -l option, ypbind shares the same log file with the
other NIS daemons.
3. Enter the following command to restart the NIS client:
# /sbin/init.d/nis.client start
• Configuring yppasswdd Logging
To configure the yppasswdd logging, complete the following steps:
1. Enter the following commands to stop yppasswdd:
# /sbin/init.d/nis.server stop
2. Add the -l logfile option to the YPPASSWD_OPTIONS variable in the
/etc/rc.config.d/namesvrs file, as follows:
YPPASSWDD_OPTIONS=”-l /var/yp/nis_log”
If you specify a log file with the -l option, yppasswdd shares the same log file with
the other NIS daemons.
3. Enter the following command to restart the NIS server:
# /sbin/init.d/nis.server start
34 Configuring and Administering an NIS Master Server