Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2005 00:05:01 -0500 (EST)
From:      Paul Sandys <myj@nyct.net>
To:        freebsd-isp@freebsd.org
Subject:   PAM and login.conf + SSH and IMAP
Message-ID:  <20050208000000.D64811@bsd3.nyct.net>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050208000000.D64811>