Note for others: in order to eliminate this error message,

pam_mount(pam_mount.c:100): unknown pam_mount option "use_first_pass"

everytime when su-ing to root,

 I had to edit /etc/pam.d/common-pammount (as suggested), 
and also /etc/pam.d/common-auth (which was only hinted at by the first reply to 
the bug post, and also implied in Leo's patch diff file, I believe).

I changed /etc/pam.d/common-pammount by removing the 'use_first_pass' option 
from the fourth options column;
I elected to replace its presence in the "Additional" block in the common-auth 
file by the string "enable_pam_password" so that the line that formerly reads:

auth   optional        pam_mount.so use_first_pass

is changed to:

auth   optional        pam_mount.so enable_pam_password

the options.txt file that is included in the libpam-mount documentation
clearly identifies the "enable_pam_password" as the default; I was
simply making sure.

After I changed these two files, the error message went away.

System notes: I am running Jaunty Server:
Linux erwin 2.6.28-13-server #45-Ubuntu SMP   && 
my version of libpam-mount is '1.5-1ubuntu1'

-- 
pam_mount(pam_mount.c:100): unknown pam_mount option "use_first_pass"
https://bugs.launchpad.net/bugs/332833
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to