Subject: Re: su -d ?
To: David Laight <david@l8s.co.uk>
From: Julio Merino <jmmv@menta.net>
List: tech-userlevel
Date: 04/27/2003 21:27:10
On Sun, 27 Apr 2003 20:08:18 +0100
David Laight <david@l8s.co.uk> wrote:

> > > > dsl@ suggested a -d option for the su command, that could behave as
> > > > -l but leaving the new shell in the same directory where su was
> > > > called (i.e., avoid switching to user's home directory).
> > > 
> > > What problem does this solve?
> > 
> > Home directory of that user inaccessible at the moment?
> 
> I was actually thinking of the case where you need to su to root,
> but are deep within a directory hierachy and don't want to change
> the current directory.

Exactly.  That's why I like it too.

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/