2分钟
方法二:pam模块验证方法
module = authn_pam
cat /etc/cobbler/users.conf
useradd -s /sbin/nologin test2
echo magedu | passwd –sdtin test2
vim /etc/cobbler/users.conf
admins
admin = test2
重启cobbler服务
systemctl restart cobblerd
使用test2账户登录:登录成功
module = authn_pam
cat /etc/cobbler/users.conf
useradd -s /sbin/nologin test2
echo magedu | passwd –sdtin test2
vim /etc/cobbler/users.conf
admins
admin = test2
重启cobbler服务
systemctl restart cobblerd
使用test2账户登录:登录成功
Copyright © 2013-2025 Tencent Cloud.All Rights Reserved. 腾讯云 版权所有
学员评价