分类: LINUX
2009-09-30 10:59:10
# vi /etc/pam.d/su
auth sufficient /lib/security/$ISA/pam_wheel.so trust use_uid
auth required /lib/security/$ISA/pam_wheel.so use_uid
Centos 的方法更简单
1. 建立 wheel 的群组
groupadd wheel
2. 编辑 /etc/pam.d/su
把这一段 auth sufficient pam_wheel.so trust
uncomment就行了.