From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30321 invoked from network); 25 May 1999 06:38:45 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 25 May 1999 06:38:45 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id BAA25570 for ; Tue, 25 May 1999 01:57:15 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id XAA11248 for axp-list@redhat.com; Mon, 24 May 1999 23:56:57 -0600 From: Michal Jaegermann Message-Id: <199905250556.XAA11248@ellpspace.math.ualberta.ca> Subject: Re: Error when su-ing To: axp-list@redhat.com Date: Mon, 24 May 1999 23:56:57 -0600 (MDT) In-Reply-To: <199905242251.SAA137584@garnet2.acns.fsu.edu> from "Peter Howell Jr" at May 24, 99 06:51:12 pm Content-Type: text 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 - ' then the resulting process will inherit the whole environment from , including its home directory, so the problem will solve itself. In nearly all situations this "su -" is actually a good idea. --mj