If pam_mount.so is listed in the session definition I will be asked
for the password a second time during SSH login:
At this stage the share is already mounted.
I can just remove the:
session optional pam_mount.so
from system-auth which seem to work fine. Even the share is unmounted
successfully on logout.
So my question is: what is the session entry used for within pam_mount
(as the usage is suggested in the man page and in the docs)?
Best Regards
Marcus
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
02-16-2010, 10:34 AM
Marcus Moeller
pam_mount
Hi.
>> I am a bit confused about the usage of pam_mount.
>>
>> Here is my /etc/pam.d/system-auth:
>>
>> auth * * * *required * * *pam_env.so
>> auth * * * *required * * *pam_mount.so
>>
>
> add use_first_pass to this??
In auth stage the pam_mount requests it's passwd from stdin and passes
it to the other modules.
>> If pam_mount.so is listed in the session definition I will be asked
>> for the password a second time during SSH login:
As noted, the second password request is called in session stage which
does not accept pass options (and should not even ask for a password
afaik)
>> So my question is: what is the session entry used for within pam_mount
>> (as the usage is suggested in the man page and in the docs)?
Best Regards
Marcus
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos