[OS X TeX] tlmgr

cfrees at imapmail.org cfrees at imapmail.org
Tue Oct 21 02:53:28 CEST 2008

On Sun 19th Oct, 2008 at 11:02, Peter Dyballa seems to have written:

> Am 19.10.2008 um 00:00 schrieb cfrees at imapmail.org:
>> The *expanded* value of PATH is inherited so -H doesn't affect it. So
>> the choice to use -H or not makes no difference so far as security is
>> concerned.
> <four letter word>! There is a solution to this: one needs to pass a modified 
> and secure PATH value to the sudo command.
> "echo $PATH" would reveal its value. With some copy and paste one could then 
> invoke
> 	env PATH=<revised value> sudo <whatever>

 	sudo -i <whatever>
is simpler? Though it is a matter of taste, of course. Actually, it
should be
 	/usr/bin/sudo -i <whatever>
or, with your version
 	/usr/bin/env PATH=<revised value> sudo <whatever>

But the question is really what the MacTeX wiki should recommend... :)

- cfr

> --
> Greetings
> Pete
> UNIX is user friendly, it's just picky about who its friends are.

More information about the macostex-archives mailing list