Subject: Re: su -d ?
To: David Laight <firstname.lastname@example.org>
From: Julio Merino <email@example.com>
Date: 04/27/2003 21:27:10
On Sun, 27 Apr 2003 20:08:18 +0100
David Laight <firstname.lastname@example.org> 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 <email@example.com>
The NetBSD Project - http://www.NetBSD.org/