系统自动设定nis域名
作者:佚名 时间:2013-09-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
配置完成后,重启一下计算机即可.
如没特殊注明,文章均为上海联楷网络原创,转载请注明来自:http://www.linksj.com/hynews/20151126/n3085.html