From owner-freebsd-questions Mon Sep 27 17:34:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from squeaky.noc.gate.net (squeaky.noc.gate.net [199.227.124.91]) by hub.freebsd.org (Postfix) with ESMTP id AD92C153F9 for ; Mon, 27 Sep 1999 17:34:13 -0700 (PDT) (envelope-from jasonv@gate.net) Received: from localhost (jasonv@localhost) by squeaky.noc.gate.net (8.9.3/8.9.3) with ESMTP id UAA05639 for ; Mon, 27 Sep 1999 20:34:18 -0400 (EDT) (envelope-from jasonv@gate.net) X-Authentication-Warning: squeaky.noc.gate.net: jasonv owned process doing -bs Date: Mon, 27 Sep 1999 20:34:18 -0400 (EDT) From: Jason X-Sender: jasonv@squeaky.noc.gate.net To: freebsd-questions@freebsd.org Subject: Re: su problems (More on this) In-Reply-To: <19990927192244.A48747@chronis.pobox.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have done even MORE testing on this and it seems to be more than su. I cannot ssh to localhost as root nor can I use sudo or even telnet to localhost as root. It actually seems to be the way Eterm logs in while using xdm. I have tried using the --utmp-logging option (yes it did run it as setuid root) and that does not fix it. There seems to be a major discrepency between the way xterm and the way Eterm executes the shell. Thanks for the help :) Squeaky On Mon, 27 Sep 1999, scott wrote: > Date: Mon, 27 Sep 1999 19:22:44 -0400 > From: scott > To: Jason > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: su problems (More on this) > > Looks like you need to examine the rc files for root's shell. > > Su takes some things out of the environment, and then executes the > shell. If the .cshrc or whatever is expecting the environment to > contain something that isn't there, it won't be so nice. > > Perhaps you're prompt is missing some stuff from the environment? > > scott > > On Mon, Sep 27, 1999 at 04:01:04PM -0400, Jason wrote: > > I am now at the work station and the message that I get is > > > > load: 0.08 cmd: su 2505 [ttyin] 0.00u 0.02s 0% 632k > > > > every time that I hit enter and it just keeps repeating,and I am unable to > > break out of it. > > > > Squeaky > > > > > > On Mon, 27 Sep 1999, Jason wrote: > > > > > Date: Mon, 27 Sep 1999 14:04:45 -0400 (EDT) > > > From: Jason > > > To: freebsd-questions@FreeBSD.ORG > > > Subject: su problems > > > > > > Last night I setup xdm on my FreeBSD 3.3 workstation. I have noticed that > > > when ever I try to su to root from an xterm (or Eterm) window when using X > > > loaded from xdm, it does not work, it just give me a message (I forgot it > > > and I am not at this workstation to recreate) saying something about the > > > PID and stuff. Now if I kill X and then kill xdm and do a startx, it works > > > normally. Could someone please give me an idea on what is wrong. > > > > > > Thanks > > > > > > Squeaky > > > > > > P.S. I am still having problems with my Sound Card at home, if anyone has > > > a kernel config that works for a SoundBlaster PCI64V could you please send > > > it to me. > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message