Ignore:
Timestamp:
10/30/2019 06:24:02 AM (4 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
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.