1 |
Am 19.05.2010 00:23, schrieb Jan Engelhardt: |
2 |
|
3 |
> OK, but don't stop there. pam_mount really just ultimatively runs |
4 |
> mount.crypt; and it tells you that it does by means of syslog (with |
5 |
> enabled debug=1 of course). |
6 |
> |
7 |
> command: 'mount.crypt' '-ofsk.... |
8 |
|
9 |
Sorry, I don't see that in my logs (yep, debug=1). |
10 |
|
11 |
|
12 |
May 20 12:18:03 enzo slim: pam_mount(pam_mount.c:364): pam_mount 2.1: |
13 |
entering auth stage |
14 |
May 20 12:18:03 enzo slim: pam_mount(pam_mount.c:552): pam_mount 2.1: |
15 |
entering session stage |
16 |
May 20 12:18:03 enzo slim: pam_mount(misc.c:38): Session open: (uid=0, |
17 |
euid=0, gid=0, egid=0) |
18 |
May 20 12:18:03 enzo slim: pam_mount(mount.c:196): Mount info: |
19 |
globalconf, user=sgw <volume fstype="crypt" server="(null)" |
20 |
path="/dev/mapper/VG01-crypthome" mountpoint="/home/sgw" |
21 |
cipher="aes-cbc-plain" fskeypath="/etc/security/verysekrit.key" |
22 |
fskeycipher="aes-256-cbc" fskeyhash="md5" |
23 |
options="data=journal,commit=15" /> fstab=0 |
24 |
May 20 12:18:03 enzo slim: pam_mount(misc.c:38): set_myuid<pre>: (uid=0, |
25 |
euid=0, gid=0, egid=0) |
26 |
May 20 12:18:03 enzo slim: pam_mount(misc.c:38): set_myuid<post>: |
27 |
(uid=0, euid=0, gid=0, egid=0) |
28 |
May 20 12:18:12 enzo slim: pam_mount(mount.c:64): Errors from underlying |
29 |
mount program: |
30 |
May 20 12:18:12 enzo slim: pam_mount(mount.c:68): |
31 |
crypt_activate_by_passphrase: Operation not permitted |
32 |
May 20 12:18:14 enzo slim: pam_mount(pam_mount.c:520): mount of |
33 |
/dev/mapper/VG01-crypthome failed |
34 |
May 20 12:18:14 enzo slim: pam_mount(misc.c:38): set_myuid<pre>: (uid=0, |
35 |
euid=0, gid=0, egid=0) |
36 |
May 20 12:18:14 enzo slim: pam_mount(misc.c:38): set_myuid<post>: |
37 |
(uid=0, euid=0, gid=0, egid=0) |
38 |
May 20 12:18:15 enzo slim: pam_mount(pam_mount.c:440): pmvarrun says |
39 |
login count is 1 |
40 |
May 20 12:18:16 enzo slim: pam_mount(pam_mount.c:642): done opening |
41 |
session (ret=0) |
42 |
May 20 12:18:16 enzo slim: pam_mount(pam_mount.c:115): Clean global |
43 |
config (0) |
44 |
May 20 12:18:16 enzo slim: pam_mount(pam_mount.c:132): clean system |
45 |
authtok=0x80bdac0 (0) |
46 |
|
47 |
|
48 |
|
49 |
> And that is what you can run from shell, which eliminates pam_mount |
50 |
> from the path and only leaves the usual suspects. |
51 |
> |
52 |
> Keep on it, marine! |
53 |
|
54 |
I try ;-) *sigh* |
55 |
|
56 |
Stefan |