[colug-432] Prevent SU from changing CWD

Jeff Stebelton jeff.stebelton at gmail.com
Wed Mar 9 08:04:48 EST 2011


On Wed, Mar 9, 2011 at 7:14 AM, Steve VanSlyck <s.vanslyck at spamcop.net>wrote:

> Well that was certainly simple enough - one box of assorted items from
> the food group "chocolate" for you!
>
> On Wed, 2011-03-09 at 07:11 -0500, Angelo McComis wrote:
> > Leave off the -   The - means to emulate logging in, including cwd ~
> > and loading the environment.
> >
> >
> > - Angelo
> >
>
> --

Note that if you do that, you'll need to provide absolute paths to every
command you run, as your PATH variable won't be set..

Jeff Stebelton, GCFW GCIA GCIH CEH ESSE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20110309/547c6b9a/attachment.html 


More information about the colug-432 mailing list