pam_mount need to enter PW twice

Tomas Mraz tmraz at redhat.com
Wed Nov 14 08:10:48 UTC 2007


On Wed, 2007-11-14 at 08:55 +0200, Stefan Heinrichsen wrote:
> Hello,
> 
> propably just a configuration Problem but I tried so many examples I found in 
> the internet but didn't found a solution.
> Wenn logging in (with gdm) pam_mount should use the entered PW to decrypt and 
> mount a partition. But I always have to re-enter the password.
> I attached the current version of my /etc/pam.d/gdm and 
> my /etc/pam.d/system-auth.

This configuration cannot work as expected. You'd have to make pam_unix
to be required and not sufficient and remove the auth required
pam_deny.so from system_auth.

What would also help you is pam in the current CVS - it contains support
for 'substack' directive which you could substitute for the 'include' in
gdm config file and then the system-auth could be used unmodified.

-- 
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
                                              Turkish proverb




More information about the Pam-list mailing list