compile sudo with option to automatically add super user directories to the path

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15341 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Igor Živković 2015-01-14 17:52:13 +00:00
parent 0bd0a202a2
commit 8466229878

View File

@ -104,6 +104,7 @@
is written otherwise -disable-static \--> is written otherwise -disable-static \-->
<screen><userinput>./configure --prefix=/usr \ <screen><userinput>./configure --prefix=/usr \
--libexecdir=/usr/lib \ --libexecdir=/usr/lib \
--with-secure-path \
--with-all-insults \ --with-all-insults \
--with-env-editor \ --with-env-editor \
--docdir=/usr/share/doc/sudo-&sudo-version; \ --docdir=/usr/share/doc/sudo-&sudo-version; \
@ -134,6 +135,13 @@ make</userinput></screen>
<filename class="directory">/usr/libexec</filename>. <filename class="directory">/usr/libexec</filename>.
</para> </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> <para>
<parameter>--with-all-insults</parameter>: This switch includes all the <parameter>--with-all-insults</parameter>: This switch includes all the
<application>sudo</application> insult sets. <application>sudo</application> insult sets.