Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251588 - sys-auth/pam_mount-1.5 - unknown option "try_first_pass"
Summary: sys-auth/pam_mount-1.5 - unknown option "try_first_pass"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 08:08 UTC by Mariusz Sawicki
Modified: 2009-01-10 05:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz Sawicki 2008-12-19 08:08:22 UTC
Option "try_first_pass" is not know in version 1.5 despite man example:

auth optional pam_mount.so use_first_pass

My config is:

$ cat /etc/pam.d/system-auth
auth            required        pam_env.so
auth            required        pam_unix.so try_first_pass likeauth nullok
auth            optional        pam_mount.so try_first_pass

account         required        pam_unix.so

password        required        pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
password        required        pam_unix.so try_first_pass use_authtok nullok sha512 shadow

session         required        pam_limits.so
session         required        pam_env.so
session         optional        pam_mount.so
session         required        pam_unix.so
session         optional        pam_permit.so


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-20 18:20:00 UTC
What man page is it that documents try_first_pass? Your quotation mentions use_first_pass, not try_first_pass.
Comment 2 Mariusz Sawicki 2008-12-22 06:53:38 UTC
Sorry - my mistake. But changing to ,,use_first_pass'' doesn't solve the problem:

Password:
pam_mount(pam_mount.c:100): unknown pam_mount option "use_first_pass"
Comment 3 Harald Urkan 2009-01-01 11:40:24 UTC
But it works anyway, doesn't it?

Pam_mount does indeed use the first pass despite throwing the above error message. I'd speculate that use_first_pass is simply the default behaviour. No need to specify it as an option.
Comment 4 Hanno Böck gentoo-dev 2009-01-08 21:24:03 UTC
pam_mount has changed lots of options with 1.x, though this is no bug, just the configuration option is deprecated.