Author: igor
Date: Wed Jan 14 09:52:13 2015
New Revision: 15341
Log:
compile sudo with option to automatically add super user directories to the path
Modified:
trunk/BOOK/postlfs/security/sudo.xml
Modified: trunk/BOOK/postlfs/security/sudo.xml
==============================================================================
--- trunk/BOOK/postlfs/security/sudo.xml Wed Jan 14 00:31:19 2015
(r15340)
+++ trunk/BOOK/postlfs/security/sudo.xml Wed Jan 14 09:52:13 2015
(r15341)
@@ -104,6 +104,7 @@
is written otherwise -disable-static \-->
<screen><userinput>./configure --prefix=/usr \
--libexecdir=/usr/lib \
+ --with-secure-path \
--with-all-insults \
--with-env-editor \
--docdir=/usr/share/doc/sudo-&sudo-version; \
@@ -135,6 +136,13 @@
</para>
<para>
+ <parameter>--with-secure-path</parameter>: This switch transparently adds
+ <filename class="directory">/sbin</filename> and <filename
+ class="directory">/usr/sbin</filename> directories to the
+ <envar>PATH</envar> environment variable.
+ </para>
+
+ <para>
<parameter>--with-all-insults</parameter>: This switch includes all the
<application>sudo</application> insult sets.
</para>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page