389 Directory Server RHEL 6.0以下客户端安装方法

杨彦君
2023-12-01

yum -y install openldap-clients

authconfig --enableldap --enablemd5 --enableldapauth --enablelocauthorize --ldapserver="xx.xx.xx.xx" --ldapbasedn="dc=femoo,dc=com" --kickstar

echo 'session     required      pam_mkhomedir.so umask=0077 skel=/etc/skel/' >> /etc/pam.d/system-auth-ac

echo 'session    required       pam_mkhomedir.so skel=/etc/skel/ umask=0022' >> /etc/pam.d/login

echo 'session    required       pam_mkhomedir.so skel=/etc/skel/ umask=0022' >> /etc/pam.d/sshd

转载于:https://www.cnblogs.com/viento/archive/2012/12/12/2814358.html

 类似资料: