Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Charles E Taylor IV <charlet@hubcap.clemson.edu>
To: axp-list@redhat.com
Subject: RE: Error when su-ing
Date: Mon, 24 May 1999 22:28:56 -0400 (EDT)	[thread overview]
Message-ID: <XFMail.990524222856.charlet@hubcap.clemson.edu> (raw)
In-Reply-To: <199905242251.SAA137584@garnet2.acns.fsu.edu>


On 24-May-99 Peter Howell Jr wrote:

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

You're doing this from your home directory, probably.  What this means is that
the user you su'd to doesn't have permission to read the directory you're in
(in this case, your home directory).  Try changing to another directory (one
that's world readable) first.

Example.  Here I'm root, in root's home directory:

[root@romulus /root]# su charlet
shell-init: could not get current directory: 

charlet can't read root's home directory /root.  However,

[root@romulus /root]# cd / 
[root@romulus /]# su charlet
[charlet@romulus /]$ 

Now it works, because charlet can read /

---
--------------------------------------------------------
E-Mail: Charles E Taylor IV <charlet@hubcap.clemson.edu>
                            <charlet@innova.net>
Date: 24-May-99
Time: 22:24:10
--------------------------------------------------------
Visit me on the web!
http://orangesherbert.ces.clemson.edu
--------------------------------------------------------


  parent reply	other threads:[~1999-05-25  3:09 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 [this message]
1999-05-25  5:56   ` Michal Jaegermann
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