From owner-freebsd-current Thu May 3 3:38:46 2001 Delivered-To: freebsd-current@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 5F7CF37B43F for ; Thu, 3 May 2001 03:38:33 -0700 (PDT) (envelope-from netchild@leidinger.net) Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with esmtp (Exim 3.22 #1) id 14vGVA-0002VN-00 for current@freebsd.org; Thu, 03 May 2001 12:38:28 +0200 Received: from b806a.pppool.de ([213.7.128.106] helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.22 #1) id 14vGV9-0001Lo-00 for current@freebsd.org; Thu, 03 May 2001 12:38:28 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.3/8.11.3) with ESMTP id f43AaOK00912 for ; Thu, 3 May 2001 12:36:25 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200105031036.f43AaOK00912@Magelan.Leidinger.net> Date: Thu, 3 May 2001 12:36:23 +0200 (CEST) From: Alexander Leidinger Subject: /usr/bin/login buserror with pam_ssh.so & _malloc_options="JR" To: current@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, ---snip--- (1) root@ttyp2 # grep ^login /etc/pam.conf login auth sufficient pam_ssh.so try_first_pass login auth required pam_unix.so try_first_pass login account required pam_unix.so login session sufficient pam_ssh.so try_first_pass login password required pam_permit.so login session required pam_permit.so (2) root@ttyp2 # ll /etc/malloc.conf lrwxr-xr-x 1 root wheel 2 Sep 5 2000 /etc/malloc.conf@ -> aj ---snip--- Logging in on the console starts the ssh-agent for users which authenticate via pam_ssh (as expected), but the SSH env vars (SSH_AGENT_PID, SSH_AUTH_SOCK) aren't set (I think because export_pam_environment() is called before the pflag check and before pam_open_session(), but moving it behind pam_open_session() didn't work). Because I also get some "warning: chunk already free" with pam_ssh.so at logout I compiled login with _malloc_options="JR" (and ="JRX"). Now I get a buserror if I try to authenticate via pam_ssh.so. I expected to find a coredump in / or in /home/$user (or at least somewhere in the root fs or in /tmp), but I can't find it. What am I doing wrong (I didn't have a coredump limit)? Bye, Alexander. -- I believe the technical term is "Oops!" http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message