From: | Kevin O'Gorman <kogorman@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Re: X programs as root | ||
Date: | Sun, 17 Oct 2010 12:46:48 | ||
Message-Id: | AANLkTi=FJM2ScDzKdk4TZ=B1DNQXu8=2MozqNGpQEnTT@mail.gmail.com | ||
In Reply to: | Re: [gentoo-user] Re: X programs as root by Andrey Vul |
1 | On Mon, Oct 4, 2010 at 10:22 PM, Andrey Vul <andrey.vul@×××××.com> wrote: |
2 | |
3 | > sudoers(5): |
4 | > ... |
5 | > ## Run X applications through sudo |
6 | > Defaults env_keep += "DISPLAY HOME" |
7 | > ... |
8 | > |
9 | > sudo visudo; paste; done |
10 | > |
11 | |
12 | Except that in the heavily-commented version of the sudoers file that I |
13 | have, the corresponding line does not include the DISPLAY variable, and it |
14 | happens to work fine that way. Try just keeping HOME. |
15 | |
16 | |
17 | |
18 | -- |
19 | Kevin O'Gorman, PhD |