Am 19.05.2010 00:23, schrieb Jan Engelhardt: > OK, but don't stop there. pam_mount really just ultimatively runs > mount.crypt; and it tells you that it does by means of syslog (with > enabled debug=1 of course). > > command: 'mount.crypt' '-ofsk....
Sorry, I don't see that in my logs (yep, debug=1). May 20 12:18:03 enzo slim: pam_mount(pam_mount.c:364): pam_mount 2.1: entering auth stage May 20 12:18:03 enzo slim: pam_mount(pam_mount.c:552): pam_mount 2.1: entering session stage May 20 12:18:03 enzo slim: pam_mount(misc.c:38): Session open: (uid=0, euid=0, gid=0, egid=0) May 20 12:18:03 enzo slim: pam_mount(mount.c:196): Mount info: globalconf, user=sgw <volume fstype="crypt" server="(null)" path="/dev/mapper/VG01-crypthome" mountpoint="/home/sgw" cipher="aes-cbc-plain" fskeypath="/etc/security/verysekrit.key" fskeycipher="aes-256-cbc" fskeyhash="md5" options="data=journal,commit=15" /> fstab=0 May 20 12:18:03 enzo slim: pam_mount(misc.c:38): set_myuid<pre>: (uid=0, euid=0, gid=0, egid=0) May 20 12:18:03 enzo slim: pam_mount(misc.c:38): set_myuid<post>: (uid=0, euid=0, gid=0, egid=0) May 20 12:18:12 enzo slim: pam_mount(mount.c:64): Errors from underlying mount program: May 20 12:18:12 enzo slim: pam_mount(mount.c:68): crypt_activate_by_passphrase: Operation not permitted May 20 12:18:14 enzo slim: pam_mount(pam_mount.c:520): mount of /dev/mapper/VG01-crypthome failed May 20 12:18:14 enzo slim: pam_mount(misc.c:38): set_myuid<pre>: (uid=0, euid=0, gid=0, egid=0) May 20 12:18:14 enzo slim: pam_mount(misc.c:38): set_myuid<post>: (uid=0, euid=0, gid=0, egid=0) May 20 12:18:15 enzo slim: pam_mount(pam_mount.c:440): pmvarrun says login count is 1 May 20 12:18:16 enzo slim: pam_mount(pam_mount.c:642): done opening session (ret=0) May 20 12:18:16 enzo slim: pam_mount(pam_mount.c:115): Clean global config (0) May 20 12:18:16 enzo slim: pam_mount(pam_mount.c:132): clean system authtok=0x80bdac0 (0) > And that is what you can run from shell, which eliminates pam_mount > from the path and only leaves the usual suspects. > > Keep on it, marine! I try ;-) *sigh* Stefan