mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 18:02:12 +08:00
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:
parent
0bd0a202a2
commit
8466229878
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user