[K12OSN] OT: pam_mount asks for password twice

john lists.john at gmail.com
Thu Apr 19 16:41:51 UTC 2007


Hi Rob,

This can be fixed by editing your pam files. Basically you need to
tell pam to accept the first credential that is correct and not to ask
again once thats happened. I use winbind and I configured my
/etc/pam.d/gdm file to look like this:

#%PAM-1.0
auth    requisite       pam_nologin.so
auth    required        pam_mount.so
auth    sufficient      pam_winbind.so use_first_pass
auth    sufficient      pam_unix.so nullok_secure use_first_pass
auth    required        pam_env.so
@include common-auth
account  sufficient     pam_mount.so
@include common-account
session required        pam_limits.so
session optional pam_console.so
@include common-session
@include common-password
session  optional      pam_mount.so

It works for me, although I don't fully understand it. :-)

John

On 4/17/07, Rob Owens <rowens at ptd.net> wrote:
> I just tried pam_mount on Ubuntu 6.06 for the first time and it works
> great.  The only complaint I have is that on gdm login, it asks for the
> user's password twice.  Is this normal behavior, or is there a way
> around it?
>
> Thanks
>
> -Rob
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>




More information about the K12OSN mailing list