From owner-freebsd-current Tue Dec 10 11:24:43 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 E6DD937B401 for ; Tue, 10 Dec 2002 11:24:41 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC60A43EC5 for ; Tue, 10 Dec 2002 11:24:40 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 50491 invoked from network); 10 Dec 2002 19:24:38 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 10 Dec 2002 19:24:38 -0000 Message-ID: <3DF63F7A.7090701@liwing.de> Date: Tue, 10 Dec 2002 20:24:42 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Vasyl S. Smirnov" Cc: Kris Kennaway , freebsd-current@FreeBSD.org Subject: Re: sshd problem References: <20021209091128.GA56348@astral.ntu-kpi.kiev.ua> <3DF4C99B.1080202@liwing.de> <20021209193032.GA92420@astral.ntu-kpi.kiev.ua> <20021209205943.GA10007@rot13.obsecurity.org> <20021209225451.GA3021@astral.ntu-kpi.kiev.ua> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit 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 Vasyl S. Smirnov wrote: > 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 Can you please send the gzipped core dump to me? And could you please include a dmesg output. I'll see what it make on my systems. Jens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message