Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 1999 20:34:18 -0400 (EDT)
From:      Jason <jasonv@gate.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: su problems (More on this)
Message-ID:  <Pine.BSF.4.10.9909272028510.5575-100000@squeaky.noc.gate.net>
In-Reply-To: <19990927192244.A48747@chronis.pobox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <scott@chronis.pobox.com>
> To: Jason <jasonv@gate.net>
> 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 <jasonv@gate.net>
> > > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909272028510.5575-100000>