`
从此醉
  • 浏览: 1050761 次
  • 性别: Icon_minigender_1
  • 来自: US
社区版块
存档分类
最新评论

在Ubuntu上配置NIS帐号

 
阅读更多
  • Install nis service
> sudo apt-get install nis
  • Install autofs service

> sudo apt-get install autofs

  • Edit /etc/auto.master and add the following lines
/home auto.home --timeout=10000
  • Edit /etc/yp.conf and add the following lines
domain www.kongxx.com server xxx.xxx.xxx.xxx
  • Backup /etc/nsswitch.conf, and create a new file and add the following lines
passwd: files nis
shadow: files nis
group: files nis

hosts: files nis dns

bootparams: files
ethers: files
netmasks: files
networks: files
protocols: files nis
rpc: files
services: files nis
netgroup: files nis
publickey: files
automount: files nis
aliases: files
  • Reboot host.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics