Why I can not use the PAM of RedHat9
- Subject: Why I can not use the PAM of RedHat9
- From: qin <junying.qin@xxxxxxxxx>
- Date: Mon, 5 Mar 2007 14:09:56 +0800
Hi,
We all know that the PAM has been embedded on the current RedHat9, but
it seems that it does not take effects.
I just want to test the pam_limits.so, and I write a simple
configuration to limit the number of process in
/etc/security/access.conf as follows:
myaccount hard nproc 5
(I want to limit the "myaccount" with maxnproc of 5 )
Then, I changed my root account to myaccount, and run ps and grep.
[root@Redhat9 security]# su myaccount
[myaccount@Redhat9 security]$ ps auxww | grep ^myaccount
myaccount 1626 0.0 0.5 2368 1324 pts/2 S 14:36 0:00 bash
myaccount 1627 0.0 0.5 2468 3324 pts/2 S 14:36 0:00 ps auxww
myaccount 1636 0.0 0.5 1968 1329 pts/2 S 14:36 0:00
grep ^myaccount
It means that I have run three processes. And now if I continue to run
2 processes, the myaccount should be prohibited by PAM. However, the
PAM does not take effects to limit the myaccount. What is wrong with
it? Are there something wrong with my configuration?
[myaccount@Redhat9 security]$ man perl
....
(it run ok, not be prohibited)
Thank you very much~
- johson
_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list
[Fedora Users]
[Kernel]
[Red Hat Install]
[Linux for the blind]
[Gimp]