Date: Fri, 03 Jul 2009 07:27:05 -0500 From: "Sagara Wijetunga" <sagara@tomahawk.com.sg> To: "Carlos A. M. dos Santos" <unixmania@gmail.com> Cc: Roland Smith <rsmith@xs4all.nl>, freebsd-stable@freebsd.org Subject: Re: FreeBSD child process die for root Message-ID: <20090703122705.6456.qmail@us1.tomahawkonline.net> In-Reply-To: <e71790db0907021628k19f9ebxcc89f94d56a903cd@mail.gmail.com> References: <20090701070409.7740.qmail@us1.tomahawkonline.net> <20090701174930.GC37269@slackbox.xs4all.nl> <20090702012352.17934.qmail@us1.tomahawkonline.net> <20090702062738.GA58158@slackbox.xs4all.nl> <20090702041707.19651.qmail@us1.tomahawkonline.net> <e71790db0907021628k19f9ebxcc89f94d56a903cd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Carlos A. M. dos Santos writes: > Try to debug the "login" program: > > (become root) > # cd /usr/src/usr.bin/login > # make clean > # make CFLAGS=-g > # gdb /usr/obj/usr/src/usr.bin/login/login > (supposing that "sagara" is your user name) > #run sagara > (fill-in the password name, if requested) > > If the signal 11 is caught, issue "bt" command in gcc. It will show > you where the break happened. > I tried to debug the login program, here are the results: 1. For normal users, gdb exists "Program exited normally." 2. For root, gdb says "Login incorrect". On /var/log/messages: login: pam_acct_mgmt(): authentication error login: 1 LOGIN FAILURE ON ttyp0 Btw, I have mentioned in my first post that I do not have an issue with normal user logins. Its only root has a problem. When try to "su -l" from a normal user, there is no "pam_acct_mgmt(): authentication error" on logs. Its only a "(su), uid 0: exited on signal 11". Regards Sagara
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090703122705.6456.qmail>