From owner-freebsd-current Mon Dec 9 16: 8:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A53837B401 for ; Mon, 9 Dec 2002 16:08:56 -0800 (PST) Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7098F43E4A for ; Mon, 9 Dec 2002 16:08:54 -0800 (PST) (envelope-from sv@astral.ntu-kpi.kiev.ua) Received: from astral.ntu-kpi.kiev.ua (if100Mbit.astral.ntu-kpi.kiev.ua [10.100.5.14]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id A0EB419968; Tue, 10 Dec 2002 02:08:17 +0200 (EET) Received: from astral.ntu-kpi.kiev.ua (sv@localhost [127.0.0.1]) by astral.ntu-kpi.kiev.ua (8.12.6/8.12.6) with ESMTP id gB9MsqsN003493; Tue, 10 Dec 2002 00:54:53 +0200 (EET) (envelope-from sv@astral.ntu-kpi.kiev.ua) Received: (from sv@localhost) by astral.ntu-kpi.kiev.ua (8.12.6/8.12.6/Submit) id gB9Msp14003492; Tue, 10 Dec 2002 00:54:51 +0200 (EET) Date: Tue, 10 Dec 2002 00:54:51 +0200 From: "Vasyl S. Smirnov" To: Kris Kennaway Cc: Jens Rehsack , freebsd-current@FreeBSD.org Subject: Re: sshd problem Message-ID: <20021209225451.GA3021@astral.ntu-kpi.kiev.ua> References: <20021209091128.GA56348@astral.ntu-kpi.kiev.ua> <3DF4C99B.1080202@liwing.de> <20021209193032.GA92420@astral.ntu-kpi.kiev.ua> <20021209205943.GA10007@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline In-Reply-To: <20021209205943.GA10007@rot13.obsecurity.org> X-Operating-System: FreeBSD 4.7-STABLE User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 09, 2002 at 12:59:44PM -0800, Kris Kennaway wrote: > > On Mon, Dec 09, 2002 at 05:49:31PM +0100, Jens Rehsack wrote: > > > Can you check the core dump for backtrace and send that? > > sysctl kern.sugid_coredump=1 > sysctl kern.corefile=/tmp/%N.core (or somewhere else writable by an unprivileged user) Ok, I ran gdb sshd sshd.core, then the bt command, here is its output: (gdb) bt #0 0x282670ff in strcasecmp () from /usr/lib/libc.so.5 #1 0x284151f4 in login_access () from /usr/lib/pam_login_access.so.2 #2 0x284150e2 in login_access () from /usr/lib/pam_login_access.so.2 #3 0x28414ef6 in login_access () from /usr/lib/pam_login_access.so.2 #4 0x28414daf in login_access () from /usr/lib/pam_login_access.so.2 #5 0x28414aed in pam_sm_acct_mgmt () from /usr/lib/pam_login_access.so.2 #6 0x281d97dc in openpam_dispatch () from /usr/lib/libpam.so.2 #7 0x281d8d1e in pam_acct_mgmt () from /usr/lib/libpam.so.2 #8 0x08061e05 in tty_parse_modes () #9 0x08062012 in tty_parse_modes () #10 0x0805db3a in tty_parse_modes () #11 0x0805d23a in tty_parse_modes () #12 0x0805cf58 in tty_parse_modes () #13 0x0804e6bf in tty_parse_modes () #14 0x08050166 in tty_parse_modes () #15 0x0804db65 in tty_parse_modes () Is this enough? I'm a bit new to gdb, so I may be missing something. sv -- [LPML-2001] [KPI-PMA] [FreeBSD] [NIN] ************************************* GPG fingerprint: 7175 B841 C13D 9FE6 BDE0 C5E3 1652 7026 0A30 1CED Mail me with subject GPG-GETKEY to get my public key. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message