I'm primarily a
User Developer Sysadmin A mixture Something else entirely .. ( 373 votes ~ 6 comments )
You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.
To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.
This is the comment you were replying to, attached to the weblog GNOME and libpam-mount
#6 Re: GNOME and libpam-mount Posted by dkg (216.254.xx.xx) on Mon 12 May 2008 at 17:49 Thanks for the recommendation, Loic, but i'm not sure that's the right thing either. For one thing, i want pam_mount to only fire for graphical logins -- there are other accounts that need access to this machine over the network, for example, which should not have pam_mount try to mount any homedirs. What's more, /etc/pam.d/common-pammount contains both auth and session directives, so even if i did want pam_mount to trigger for every type of PAM-triggered connection, if it was included in common-auth and common-session, those directives would be duplicated (which would try to mount the homedir twice, afacit): 0 root@mew:~# grep '^[^#]' /etc/pam.d/common-pammount auth required pam_mount.so try_first_pass session required pam_mount.so try_first_pass 0 root@mew:~#
What's more, /etc/pam.d/common-pammount contains both auth and session directives, so even if i did want pam_mount to trigger for every type of PAM-triggered connection, if it was included in common-auth and common-session, those directives would be duplicated (which would try to mount the homedir twice, afacit):
0 root@mew:~# grep '^[^#]' /etc/pam.d/common-pammount auth required pam_mount.so try_first_pass session required pam_mount.so try_first_pass 0 root@mew:~#
Posting Format:
Inappropriate comments will be removed.
Some help on entry formatting is available
Username:
Password:
[ Advanced Login ]
Register Account