I need this @ work.

On Sun, Jan 15, 2012 at 6:15 PM, Peter Hessler <[email protected]> wrote:

> When you are in a place that requires proxy configs to reach the
> internet, it would be very nice if you could then use pkg_add.
>
> So, add ftp_proxy and http_proxy to the default env_keep variable.
>
> OK?
>
> Index: usr.bin/sudo/sudoers
> ===================================================================
> RCS file: /cvs/openbsd/src/usr.bin/sudo/sudoers,v
> retrieving revision 1.25
> diff -u -p -r1.25 sudoers
> --- usr.bin/sudo/sudoers        26 Oct 2009 19:28:26 -0000      1.25
> +++ usr.bin/sudo/sudoers        15 Jan 2012 14:13:48 -0000
> @@ -20,7 +20,7 @@ Defaults env_keep +="DESTDIR DISTDIR EDI
>  Defaults env_keep +="MAKECONF MULTI_PACKAGES NOMAN OKAY_FILES OWNER
> PKG_CACHE"
>  Defaults env_keep +="PKG_DBDIR PKG_DESTDIR PKG_PATH PKG_TMPDIR PORTSDIR"
>  Defaults env_keep +="RELEASEDIR SHARED_ONLY SSH_AUTH_SOCK SUBPACKAGE
> VISUAL"
> -Defaults env_keep +="WRKOBJDIR"
> +Defaults env_keep +="WRKOBJDIR ftp_proxy http_proxy"
>
>  # Uncomment to disable the lecture the first time you run sudo
>  #Defaults !lecture
>
>
>
> --
> Conscious is when you are aware of something and conscience is when you
> wish you weren't.
>
>


-- 
Brightest day,
Blackest night,
No bug shall escape my sight,
And those who worship evil's mind,
be wary of my powers,
puffy lantern's light !

Reply via email to