Re: behavior of sudo -E

2014-07-08 Thread Dom
On 08/07/14 15:42, Harry Putnam wrote: I must be miss-understanding the usage of sudo's option `-E' (preserve users env). One would think that tools found along user path would then be available to `sudo' Here is what puzzles me: Note: --- --- ---=--- --- --

Re: behavior of sudo -E

2014-07-08 Thread Sven Joachim
On 2014-07-08 16:53 +0200, Linux-Fan wrote: > On 07/08/2014 04:42 PM, Harry Putnam wrote: >> However, in that case I do not understand this behavior below: >> >> sudo -E which enw >> >> {no output} >> >> sudo -E enw >> >> sudo: enw: command not found > > I do not understand it either.

Re: behavior of sudo -E

2014-07-08 Thread Linux-Fan
On 07/08/2014 04:42 PM, Harry Putnam wrote: > I must be miss-understanding the usage of sudo's option `-E' (preserve users > env). > > One would think that tools found along user path would then be > available to `sudo' > > Here is what puzzles me: [...] > --- --- ---=---

behavior of sudo -E

2014-07-08 Thread Harry Putnam
I must be miss-understanding the usage of sudo's option `-E' (preserve users env). One would think that tools found along user path would then be available to `sudo' Here is what puzzles me: Note: --- --- ---=--- --- --- ls -l /merb/dv/home/harry/script