[Gllug] PAM access.conf controls on ssh

Iain M Conochie iain at shihad.org
Thu May 15 09:22:23 UTC 2008


Matthew King wrote:
> Matthew King <matthew.king at monnsta.net> writes:
>
>   
>> Iain M Conochie <iain at shihad.org> writes:
>>
>>     
>>> Good morning gllug'ers
>>>
>>>   I am trying to control access to a machine over ssh using the pam 
>>> /etc/security/access.conf file. This is a debian 3.1 box. I have added 
>>> the line
>>>
>>> account  required       pam_access.so
>>>
>>> to the /etc/pam.d/login file. I also have these lines in the access.conf 
>>> file
>>>       
>> SSH will be controlled by the /etc/pam.d/ssh file. /etc/pam.d/login
>> controls the login process.
>>     
Matthew,

 OK. I have added this to the /etc/pam.d/ssh file and all seems to work 
now :)

Cheers

Iain

>
> That is to say, the login process as in the Unix process which is
> controlled by (run by? attached to?) the /bin/login binary. Not the
> general set of actions which falls under the process of logging in.
>
> Matthew
>
>   

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list