pam_access.so user&hostname based access problems.

Tomas Mraz tmraz at redhat.com
Wed Apr 12 15:21:39 UTC 2006


On Wed, 2006-04-12 at 18:09 +0300, Sysadmin wrote:
> Hello.
> 
> I have firewall protected network in which also mailserver
> (dovecot/postfix) runs, and every local user with account, can access
> it. Now I have some privileged users which need access also from
> outside, true firewall, so I try to make this happend with pam, but
> con't figure out, how to do it with two pair of rules, something like:
> 
> let the group1 members access mailserver from 0.0.0.0/0
> let the group2 members access mailserver from 172.0.0.0/24
IMHO this translates to:

+:group1:ALL
+:group2:172.0.0.
-:ALL:ALL

-- 
Tomas Mraz <tmraz at redhat.com>




More information about the Pam-list mailing list