-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Bas,

Bas Zoetekouw schrieb:
> After I set this up, cronjobs that use su (popularity-contest, polipo)
> started asking for passwords:
This happens only if you enabled pam_mount in /etc/pam.d/su, which you
don't normally need. Just enable it in /etc/pam.d/login or whatever
login manager you are using. This should be sufficient for mounting a
home dir on login.

> Now, in auth.log the following shows up:
> 
> | Dec  2 14:37:00 ophelia su[351]: Successful su for root by root
> | Dec  2 14:37:00 ophelia su[351]: + pts/1 root:root
> | Dec  2 14:37:00 ophelia su[351]: (pam_unix) session opened for user root by 
> (uid=0)
> | Dec  2 14:37:00 ophelia su[351]: pam_mount(pam_mount.c:413) error trying to 
> retrieve authtok from auth code
If you turn on debugging (set debug=1 in pam_mount.conf), you'll see
what config line the pam_mount module matched. This will help you debug
the problem.


Hope this helps,
  Bastian
- --
  ,''`.                  Bastian Kleineidam
 : :' :                    GnuPG Schlüssel
 `. `'    gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E
   `-

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFcxmoeBwlBDLsbz4RApUMAJ9REbS1vRbjPvYFB0yCmKCNdteCTwCaAk+I
ZzGuoIzPF/Gh0py7Tn0vcLo=
=MHaW
-----END PGP SIGNATURE-----

Reply via email to