su: blacklist users

Man-wai CHANG mwchang
Thu May 25 22:39:08 PDT 2006


> Just add this to your /etc/pam.d/su file:
> auth       required   pam_wheel.so
> note that you have to ensure your distro includes
> /lib/security/pam_wheel.so for this to work.

I asked about this because I want to allow an careless individual to 
login my linux server via ssh. I don't want someone (if not him) using 
the account to dictionary hack the root password via su.

-- 
   .~.    http://changmw.homeip.net
  / v \  May the Force and Farce be with you! Linux 2.6.16.18
/( _ )\  (Ubuntu 5.10)  11:37:02 up 2 days 20:37
   ^ ^    1 user load average: 1.79 1.85 1.61
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk


More information about the Linux-users mailing list