Re: gdm and ssh keys



Hi again,

I got it work by switching the order of these lines:

@include common-auth
@include pam-ssh-auth

to

@include pam-ssh-auth
@include common-auth


so that gdm first asks for an ssh password. works like a charm.

The configuration you described below is exactly what I've read just
about everywhere. I don't know why that should work for anybody, since
you still have to enter your regular system password.

-j

josh wrote:
> Hi,
> 
> thanks for replying! I did exactly as you describe below, and my
> /etc/pam.d/gdm is line-for-line exactly like yours.
> 
> Now, I know little about pam, but as I understand it, I should be able
> to login with my ssh-passphrase, but when I try that, gdm just does the
> same thing as when I enter a bogus password.
> 
> -j
> 
> Alban Crequy wrote:
> 
>>
>>If you have Debian:
>>- apt-get install libpam-ssh
>>- cat /usr/share/doc/libpam-ssh/README.Debian
>>- vim /etc/pam.d/gdm
>>
>>For example, here is my /etc/pam.d/gdm file on my Debian system:
>>
>>auth    requisite       pam_nologin.so
>>auth    required        pam_env.so
>>@include common-auth
>>@include pam-ssh-auth
>>@include common-account
>>session required        pam_limits.so
>>@include common-session
>>@include pam-ssh-session
>>@include common-password
>>
> 
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]