Re: How to transfer X11 auth across sudo invocation
- From: dsharp <sharp.doug@xxxxxxxxx>
- Date: Thu, 28 Feb 2008 10:35:38 -0800 (PST)
There is a setting in the sudoers config file that controls how env
variables are passed when you run sudo. Maybe the person that manages
your sudoers file can change it for you. See the info about env_keep
and related env info here:
http://www.gratisoft.us/sudo/man/sudoers.html
or the comments in the sudoers file itself. I've used env_keep to
manage unusual env variables for non-root users using sudo on Linux.
I manage sudo on AIX but I haven't used this feature there, so it's
possible the AIX impl doesn't support it. On Linux, for example, the
following is a default:
Defaults env_reset
Defaults env_keep = "DISPLAY ..."
Doug
.
- Follow-Ups:
- Re: How to transfer X11 auth across sudo invocation
- From: david.karr
- Re: How to transfer X11 auth across sudo invocation
- References:
- How to transfer X11 auth across sudo invocation
- From: david.karr
- Re: How to transfer X11 auth across sudo invocation
- From: dsharp
- How to transfer X11 auth across sudo invocation
- Prev by Date: Re: How to transfer X11 auth across sudo invocation
- Next by Date: Re: How to transfer X11 auth across sudo invocation
- Previous by thread: Re: How to transfer X11 auth across sudo invocation
- Next by thread: Re: How to transfer X11 auth across sudo invocation
- Index(es):
Relevant Pages
|