Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Error when su-ing
Date: Mon, 24 May 1999 23:56:57 -0600 (MDT)	[thread overview]
Message-ID: <199905250556.XAA11248@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <199905242251.SAA137584@garnet2.acns.fsu.edu> from "Peter Howell Jr" at May 24, 99 06:51:12 pm

Peter Howell Jr wrote:
> 
> Quick question.
> 
> When I attempt to su to anything other than root, I get the following
> error.
> 
> shell-init: could not get current directory:  

Most likely it cannot get current directory :-) (because you did that
from a directory readable to root but not to an account you try to
"su").  If you do instead 'su - <whomever>' then the resulting process
will inherit the whole environment from <whomever>, including its home
directory, so the problem will solve itself.  In nearly all situations
this "su -" is actually a good idea.

  --mj


      parent reply	other threads:[~1999-05-25  6:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-24 20:07 RedHat 6.0 CD? Bret Orsburn
1999-05-24 21:17 ` David R. Gavin
1999-05-24 22:51 ` Error when su-ing Peter Howell Jr
1999-05-25  1:44   ` Paul Jakma
1999-05-25  2:28   ` Charles E Taylor IV
1999-05-25  5:56   ` Michal Jaegermann [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox