PAM禁止root用户登录,限制普通用户使用su切换到root
摘要:
系统环境是CentOS 6.5, 介绍下PAM(Pluggable Authentication Modules)在ssh服务上的简单配置过程。 1、必须先添加普通用户,并属于wheel组:保证有除root之外的其它用户能登录到系统 !!!!!!! 2、禁止root直接登录: 添加 UsePAM y 阅读全文
posted @ 2016-12-05 11:08 pzzning 阅读(1165) 评论(0) 推荐(0)