09 2025 档案

摘要:在 ​​Anolis OS 8​​ 上配置 ​​LDAP 账户登录(使用 nslcd)​​,以下是 ​​完整步骤​​: ​​1. 安装必要的软件包​​ sudo dnf install -y openldap-clients nss-pam-ldapd authselect authconfig - 阅读全文
posted @ 2025-09-12 10:50 aaahwh 阅读(12) 评论(0) 推荐(0)
摘要:linux实现ldap账户分组登录 仅允许it组的用户访问该机器 vi /etc/pam.d/sshd 在最顶部添加 auth [success=1 default=ignore] pam_succeed_if.so user ingroup it auth requisite pam_deny.s 阅读全文
posted @ 2025-09-10 11:13 aaahwh 阅读(5) 评论(0) 推荐(0)
摘要:一.LDAP是什么 后期更新,目前只搭建了服务器 二.linux搭建LDAP服务器 以下服务器信息为该文档安装ldap服务环境 服务器信息:CentOS7 内核版本:3.10.0-1160.el7.x86_64 1.使用yum进行安装 yum -y install openldap compat-o 阅读全文
posted @ 2025-09-08 11:16 aaahwh 阅读(38) 评论(0) 推荐(0)
摘要:在CentOS/RHEL#Ubuntu/Debian上配置 LDAP 账户登录需要完成以下步骤: ​​1. 安装必要的软件包 # CentOS/RHEL ​​ sudo yum install -y openldap-clients nss-pam-ldapd authconfig # Ubuntu 阅读全文
posted @ 2025-09-05 13:29 aaahwh 阅读(53) 评论(0) 推荐(0)