From owner-freebsd-questions Thu Mar 22 11:12:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web13208.mail.yahoo.com (web13208.mail.yahoo.com [216.136.174.193]) by hub.freebsd.org (Postfix) with SMTP id AFDA037B71C for ; Thu, 22 Mar 2001 11:12:43 -0800 (PST) (envelope-from lipshitz909@yahoo.com) Message-ID: <20010322191243.95993.qmail@web13208.mail.yahoo.com> Received: from [213.167.135.253] by web13208.mail.yahoo.com; Thu, 22 Mar 2001 11:12:43 PST Date: Thu, 22 Mar 2001 11:12:43 -0800 (PST) From: Larry Librettez Subject: Re: 4.3-BETA won't su to root in X terminal To: Forrest , FreeBSD Questions In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Forrest, Thank you for the advice, which I readily followed. There were indeed some differences between the /usr/src/etc/pam.conf file and my own /etc/pam.conf. I replaced it with the src pam.conf file, rebooted, but the problem is still there. Any other ideas? --- Forrest wrote: > On 3/21/01 10:09 PM, "Larry Librettez" > is said to > have spake: > > > After upgrading to 4.3-BETA, I find I cannot su to > > root in a terminal window (rxvt, xterm) in X > > (XFree86-3.3.6 with either GNOME or KDE). Even if > I > > enter the correct password, the su login gets > rejected > > (and yes, user is member of wheel group). The logs > > report `BAD SU LIPSHITZ to root on ttyp0`. > However, > > in a plain terminal (not in X), I CAN su to root > as a > > regular user. Prior to upgrading to 4.3-BETA > (kernel > > + userland), I was able to su to root in X in > > 4.2-STABLE. I tried adding `secure? after the > ttyp > > entries in /etc/ttys but that didn?t help. I did > both > > mergemaster and MAKEDEV all during my rebuild. I > > specifically re-made the ttyp* devices. I even > typed > > out the su password on the terminal to make sure > it > > shows correctly and it does. On a separate box > using > > 4.2-STABLE I upgraded only the kernel to 4.3-BETA > > (same 4.2-STABLE userland), and the problem still > > occurred - couldn?t su to root in an X terminal. > > > > Is the problem in the kernel? A bug? A DoS? I > > cvsup?d 5 times and rebuilded 5 times (I am now up > to > > 4.3-RC) with no change in this problem. > > > > How do I fix this? > > > > Larry, after I updated to 4.3-BETA a few weeks ago, > I had major problems > with all situations where PAM was called -- first in > starting X at all (see > my posts at that time on this list) and then later > in su-ing in an xterm, > getting ssh to work-- I knew that in the mergemaster > operation, I might have > merged incorrectly and damaged my /etc/pam.conf > file. My advice to you: > You might try looking on your machine for all the > pam.conf files (there > should be more than one, with one in > /usr/src/etc/pam.conf if you've got > your sources handy). Do a diff on the two files > /etc/pam.conf and > /usr/src/etc/pam.conf. When I did this I discovered > big differences between > them, and when I replaced my damaged pam.conf file > with the one in > /usr/src/etc/pam.conf (I had to add entries to make > sshd work though), all > my authentication problems went away. Maybe this > will help... > > Cheers, > Forrest Hawes > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of > the message __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message