[oclug] Can't su from a pts

Raymond Wood raywood at magma.ca
Mon Mar 11 13:57:27 EST 2002


On Mon, Mar 11, 2002 at 01:47:12PM -0500, Dave Edwards remarked:
> Hey Gang,
> 
> I have a knotty little problem here.  As 'user', I cannot su to root from
> any pts.  I goes like this:
> $ su root
> Password: <passwd>
> root: root: No such file or directory
> 
> I can log in as root from a tty and su to root from a user tty, too.
> I also created a test user  ('user2') and I do *not* encounter the same
> problem from an X session and pts as that user.  I suspect there's
> some errant environment variable causing this, but which, I don't know.
> I have looked at the output of 'set' for each of root, user, and user2, 
> and I can't see anything unusual in any of them, nor in root's .bash*.
> 
> Any clues out there?  Thanks,
> Dave.

Does 
  su -
work Dave?

Cheers,
Raymond



More information about the OCLUG mailing list