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