RHCSA7:(11) 配置autofs自动挂载LDAP用户的家目录

RHCSA7:(11) 配置autofs自动挂载LDAP用户的家目录

11题:
查看共享
showmount -e classroom.example.com
yum install autofs -y
vim /etc/auto.master
/home/guests        /etc/auto.ldap
   
 cp /etc/auto.misc /etc/auto.ldap

配置复制好的模版:
vim  /etc/auto.ldap
*    -rw     classroom.example.com:/home/guests/&
systemctl restart autofs
systemctl enable autofs.service
su - ldapuser0
df -Th

1、本站资源长期持续更新。
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。

转载请保留出处:  www.zh-cjh.com珠海陈坚浩博客 » RHCSA7:(11) 配置autofs自动挂载LDAP用户的家目录

作者: cjh


手机扫一扫,手机上查看此文章:

一切源于价值!

其他 模板文件不存在: ./template/plugins/comment/pc/index.htm

未雨绸缪、居安思危!

数据安全、有备无患!

注意操作、数据无价!

一切源于价值!