On Thu, Dec 07, 2006 at 10:51:26PM +0100, Bastian Kleineidam wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Marc MERLIN schrieb: > > Indeed. 0.12 was the latest in my distro, but I downloaded the latest 0.18 > > from packages.debian.org/testing/ and I still have the same problem > You normally don't need to use pam_mount together with su. If you do, > there unfortunately will be a prompt "reenter password" when su is > started from root. And this breaks cron jobs using the su program. > > I attached a patch which gets rid of the password prompting. This might > also fix the segfault you are experiencing when using cron and su > configured for pam_mount. Indeed, I'm not quite sure why because cron would segfault on * * * * * root date > /tmp/file in /etc/crontab since this does not involve su, and I've removed pam-mount from /etc/pam.d/su, and I only have it in /etc/pam.d/cron for testing.
But sure enough, it seems to have worked. I.e. your patch seems to have fixed the SEGV I was seeing. Thanks Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]