You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, February 28th 2008, 12:41pm

automount encrypted flash in KDM and KDE

Would be very grateful for advice on fixing the following please:

distro: fc8 kde-base 3.5.8-32 trying to mount a encrypted usb flash 'stick' to users home

kdm does not pam_mount encrypted flash drives. Error:

Feb 28 10:59:42 localhost kdm: :0[2675]: pam_mount(pam_mount.c:413) error trying to retrieve authtok from auth code
Feb 28 10:59:42 localhost kdm: :0[2675]: pam_mount(pam_mount.c:159) conv->conv(...): Conversation error
Feb 28 10:59:42 localhost kdm: :0[2675]: pam_mount(pam_mount.c:416) error trying to read password




Separately KDE does not offer a dialog for a password or mount the flash drive when plugging in the usb flash when running a user session. (normal unencrypted drives it will mount)

FYI. GDM does both of the above so the correct modules are loaded and otherwise indicate system settings are right. ....I have different issues over this req. with GDM however!

I have no clues at all regarding kde offering to load the encrypted drive but for kdm using pam_mount to load the drive my /etc/pam.d/kdm settings are as follows:

#%PAM-1.0
auth include system-auth
auth optional pam_mount.so
auth include system-auth use_first_pass
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
session optional pam_selinux.so
session optional pam_console.so
session optional pam_mount.so

....also tried:
auth optional pam_mount.so use_first_pass

instead of....
auth include system-auth use_first_pass

and also copied the /etc/pam.d/gdm settings to kdm


Can anyone assist with either / both of these ?