Querry regarding use of pam_succeed_if.so

[email protected]
Newsgroups gmane.linux.pam
Message-ID <730952791-1310019714-cardhu_decombobulator_blackberry.rim.net-404714513-@b13.c17.bise7.blackberry>
Hi,
 
I am studying PAM.
 
I understood upto “auth sufficient pam_unix.so.”. If credentials are ok then authentication will be successful. And it wont load any other module.
But then why pam_succeed_if.so is there? I just did some work on it, I found it is only useful when pam_deny is disable.
 
auth        requisite     pam_succeed_if.so uid >= 500 quiet
 
 
Also it is used in “account” module type:
account     sufficient    pam_succeed_if.so uid < 500 quiet
 
 
Can you please explain me? I saw the documentation too, but didn’t understand the purpose of it.
 
Regards,
Neelesh Gurjar
I have no special talent. I am only passionately curious ! J
Sent from BlackBerry® on Airtel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.