系统自动设定NIS域名
时间:2013-9-29
如果希望NIS域名设定长久生效,则可以修改/etc/rc.d/rc.local文件,添加相应的NIS域名,如下所示.
[root@nis /]# vi /etc/rc.d/rc.local
#!/bin/sh
#
# this script will be executed *after* all the other init scripts.
# you can put your own initialization stuff in here if you don't
# want to do the full sys V style init stuff.
/bin/nisdomainname test
配置完成后,重启一下计算机即可.