Re: PAM

From: xsdg (xsdg@openprojects.net)
Date: 01/11/02


Date: Fri, 11 Jan 2002 11:45:05 +0000
To: focus-linux@securityfocus.com
From: xsdg <xsdg@openprojects.net>

On Thu, Jan 10, 2002 at 07:42:19AM -0800, securityfocus@kaiserdigital.com wrote:
> Hi
>
> Can PAM be used to block user logons by IP address.
>
> i.e. Can PAM be configured to allow user A to access the server from
> x.x.x.x while blocking user B from accessing the server from outside
> 10.10.0.x.

Unless you have specific needs, you'd probably be better off using hosts.allow
and hosts.deny (man 5 hosts_access)

> Thanks
>

        --xsdg

-- 
|---------------------------------------------------|
| It is possible to believe that all the human mind |
|   has ever accomplished is but the dream before   |
|   the awakening.                                  |
|     -- H. G. Wells                                |
|---------------------------------------------------|
| http://xsdg.hypermart.net   xsdg@openprojects.net |
|---------------------------------------------------|