Re: sudo versus su environment?

2006-05-27 Thread David Baron
On Friday 26 May 2006 11:23, Chris wrote: On Friday 26 May 2006 02:41, Limin Wang wrote: Chris, The latest sudo will reset the env default, so you need add below line to /etc/sudoers: [EMAIL PROTECTED]:~$ sudo more /etc/sudoers # /etc/sudoers # # This file MUST be edited with

Re: sudo versus su environment?

2006-05-26 Thread David Baron
On Thursday 25 May 2006 15:16, Chris wrote: Hi, I have a strange problem. I have sudo setup so that I can sudo apt-get, to update for instance. In one network when I have an http_proxy set in the environment apt-get update can connect when I use su, but not when I use sudo. env shows the

Re: sudo versus su environment?

2006-05-26 Thread Greg Folkert
On Thu, 2006-05-25 at 14:16 +0200, Chris wrote: Hi, I have a strange problem. I have sudo setup so that I can sudo apt-get, to update for instance. In one network when I have an http_proxy set in the environment apt-get update can connect when I use su, but not when I use sudo. env

Re: sudo versus su environment?

2006-05-26 Thread Chris
Thanks! On Friday 26 May 2006 02:41, Limin Wang wrote: Chris, The latest sudo will reset the env default, so you need add below line to /etc/sudoers: [EMAIL PROTECTED]:~$ sudo more /etc/sudoers # /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # See the

Re: sudo versus su environment?

2006-05-26 Thread Limin Wang
Chris, The latest sudo will reset the env default, so you need add below line to /etc/sudoers: [EMAIL PROTECTED]:~$ sudo more /etc/sudoers # /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # See the man page for details on how to write a sudoers file. # Defaults

Re: sudo versus su environment?

2006-05-26 Thread Chris
On Friday 26 May 2006 02:41, Limin Wang wrote: Chris, The latest sudo will reset the env default, so you need add below line to /etc/sudoers: [EMAIL PROTECTED]:~$ sudo more /etc/sudoers # /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # See the man page

Re: sudo versus su environment?

2006-05-26 Thread Limin Wang
chris, Yes, haven't notice *t is missing when I'm post. Thanks, Limin * Chris [EMAIL PROTECTED] [2006-05-26 10:23:56 +0200]: On Friday 26 May 2006 02:41, Limin Wang wrote: Chris, The latest sudo will reset the env default, so you need add below line to /etc/sudoers: [EMAIL

sudo versus su environment?

2006-05-25 Thread Chris
Hi, I have a strange problem. I have sudo setup so that I can sudo apt-get, to update for instance. In one network when I have an http_proxy set in the environment apt-get update can connect when I use su, but not when I use sudo. env shows the proxy set correctly, but apt-get cannot seem

Re: sudo versus su environment?

2006-05-25 Thread Roberto C. Sanchez
Chris wrote: Hi, I have a strange problem. I have sudo setup so that I can sudo apt-get, to update for instance. In one network when I have an http_proxy set in the environment apt-get update can connect when I use su, but not when I use sudo. env shows the proxy set correctly, but