• 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.
 

相关文章:

  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2022-01-06
  • 2022-12-23
  • 2022-01-02
猜你喜欢
  • 2021-11-09
  • 2021-05-09
  • 2022-02-05
  • 2021-08-28
  • 2022-12-23
  • 2021-06-06
  • 2021-10-15
相关资源
相似解决方案