Filed Under (Note) by a-wei on 18-07-2006

# 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

Debian 的方法更簡單

1. 建立 wheel 的群組
groupadd wheel

2. 編輯 /etc/pam.d/su
把這一段 auth sufficient pam_wheel.so trust
uncomma 就行了.



Post a comment

Name: 
Email: 
URL: 
Comments: