system-config-authentication 客户端配置
authconfig-gtk 同上
NIS 不支持 windows
rpm -q ypbind portmap
authconfig-tui 蓝屏
ypcat passwd 获得帐户信息
PAM :用来负责所有应用程序的 应用验证
NSS: 名称服务切换
主机名解析 DNS NIS LDAP
vim /etc/nsswitch.conf
vim /etc/yp.conm 最后加了一行配置
getent entry
showmount -e 192.168.0.254
getent passwd guest2018
mount 192.168.0.254:/home/guests/guest2003 /home/guests/guest2003
autofs 自动挂载
*为user1 则 &也为 user1
&引用 *
vim /etc/auto.master
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
/misc /etc/auto.misc
/home/guests /etc/auto.nis
#
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
/net -hosts
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
-- INSERT -- 10,32 Top
vim /etc/auto.nis
guests 192.168.0.254:/home/guests/guest2003
* 192.168.0.254:/home/guests/& (PS:&后面千万别加空格,不然报错! )
service autofs restart
service autofs reload