PAM and login.conf + SSH and IMAP

Paul Sandys myj at nyct.net
Mon Feb 7 21:05:02 PST 2005


I need to block ssh access to wheel only and at the same time allow IMAP access
to any user.

When I put following in /etc/login.access, the ssh behaves the way I want:
+:wheel:ALL
-:ALL:ALL

However, it also denies imap access. I'm trying different options in
/etc/pam.d/imap without any success. Is there a PAM module that would
authenticate using system password file and disregarded /etc/login.access ?

Any suggestions ?

Thanks,
Paul


Paul Sandys
network operations manager
http://www.nyct.net/
212.293.2620


More information about the freebsd-isp mailing list