Re: How to transfer X11 auth across sudo invocation



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
.



Relevant Pages

  • Re: Mac OS X Security - Not Quite as Strong as you Thought
    ... GreyCloud wrote: ... The sudoers is set up so admin users ... Do man sudo and man su... ... This implies that sudoers file is not setup out of the box. ...
    (comp.sys.mac.advocacy)
  • Re: Allowing a group to use fstab mount-points
    ... Have you looked at sudo? ... shell, password blocked, etc. Allocate a /home/mounter for the account, ... and one command only, to mount the CD. ... I think mounting is one of the examples for sudoers. ...
    (freebsd-questions)
  • Re: Im Beaten
    ... which lists which users are allowed to user "sudo" ... then the command is run as root. ... man sudoers has some examples on how to allow an app to be ran ...
    (Ubuntu)
  • sudo on NonStop
    ... Trying to get this OpenSource package running on an S-machine. ... We have DL'ed the Z-file from ITUG, unpacked it and set the modes of 'sudo' and 'sudoers' to what we believe to be the correct values: ... chgrp SUPER sudoers ...
    (comp.sys.tandem)
  • Re: sudo on NonStop
    ... We have DL'ed the Z-file from ITUG, unpacked it and set the modes of 'sudo' and 'sudoers' to what we believe to be the correct values: ... chgrp SUPER sudoers ... ITUGLIB is pretty out of date, the version I'm using is from 15Aug07, the one on ITUGLIB is from 12Dec2005! ...
    (comp.sys.tandem)