Re: How to disable authentication for a particular user

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

 



2008/5/18 decoder <decoder@xxxxxxxxxxxx>:
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


_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux