系統(tǒng)自動設(shè)定nis域名
作者:佚名 時間:2013-09-29 分享到:
如果希望nis域名設(shè)定長久生效,則可以修改/etc/rc.d/rc.local文件,添加相應(yīng)的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
配置完成后,重啟一下計算機(jī)即可.
如沒特殊注明,文章均為上海聯(lián)楷網(wǎng)絡(luò)原創(chuàng),轉(zhuǎn)載請注明來自:http://www.ktcbnqb.cn/hynews/20151126/n3085.html