Re: Environment Variables for sudo

2006-03-06 Thread Tadeusz Bak
Tim, Please have a look at the thread "sudo doesn't set HOME" in this list. Thanks, Tad -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Environment Variables for sudo

2006-03-06 Thread Timothy Cowlishaw
On 6 Mar 2006, at 22:02, Star King of the Grape Trees wrote: (First, is that as typo? (spurious space in PATH)) I would assume that sudo merely executes the program, and does not start a new shell (unless you ask it to), thus my assumption is that it's your env, merely executed with root's

Re: Environment Variables for sudo

2006-03-06 Thread Star King of the Grape Trees
Timothy Cowlishaw wrote: Hi All, am having a bit of a problem with setting environment variables on my web server. I need to set the following, for all users, including root. this works fine for normal users (and for root when using su, which i had disabled), but apparently not for root