[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to disable authentication for a particular user



2008/5/18 decoder <decoder 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 item=user sense=deny file=/etc/blocked_imap_user

and this works great.

--Donald



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]