How to disable authentication for a particular user
D G Teed
donald.teed at gmail.com
Sun May 18 20:50:22 UTC 2008
2008/5/18 decoder <decoder at own-hero.net>:
> D G Teed wrote:
>
>> Any are sufficient, so I need to block them all.
>>
> That means you need a module that is required before those...
>
>>
>> Can anyone suggest a way to achieve this by having
>> a list of disabled or blocked user accounts which pam will
>> look at?
>>
> Have a look at pam_listfile which should be part of the standard PAM
> distribution.
>
>
>
Thanks, I added a line like this:
auth required pam_listfile.so onerr=succeed item=user sense=deny
file=/etc/blocked_imap_user
and this works great.
--Donald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pam-list/attachments/20080518/ab9b70f8/attachment.htm>
More information about the Pam-list
mailing list