Ignore:
Timestamp:
10/30/2019 06:24:02 AM (2 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 9.1, ken/refactor-virt, lazarus, qt5new, trunk, upgradedb, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
cb21554
Parents:
40d3e7a
Message:

Add sudoers configuration for Xorg.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22329 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/xorg7.xml

    r40d3e7a r5ce789c  
    138138    </para></note>
    139139
     140    <para>
     141      If you've installed <xref linkend="sudo"/>, ensure that
     142      <envar>XORG_PREFIX</envar> and <envar>XORG_CONFIG</envar> are available
     143      in the <application>sudo</application> environment. As the
     144      <systemitem class="username">root</systemitem> user, run the following
     145      command:
     146    </para>
     147
     148<screen role="root"><userinput>cat &gt; /etc/sudoers.d/xorg &lt;&lt; EOF
     149<literal>Defaults env_keep += XORG_PREFIX
     150Defaults env_keep += XORG_CONFIG</literal>
     151EOF</userinput></screen>
     152
    140153    <note><para>If you've decided to use the standard <filename
    141154    class="directory">/usr</filename> prefix, you can omit the remainder of
Note: See TracChangeset for help on using the changeset viewer.