Fix a few minor issues

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18341 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2017-02-18 21:51:19 +00:00
parent 80a314cae2
commit 1dd7b0aece
5 changed files with 37 additions and 10 deletions

View File

@ -100,8 +100,9 @@
command:
</para>
<screen><userinput>./autogen.sh &amp;&amp;
./configure --prefix=/usr &amp;&amp;
<screen><userinput>sed 's/-Werror//' Makefile.am &amp;&amp;
./autogen.sh &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
@ -115,16 +116,17 @@ make</userinput></screen>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<!--
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<envar>MANDIR=/usr/share/man</envar>: Ensure the man pages are installed
in the correct location.
<command>sed 's/-Werror//' Makefile.am</command>: Prevents the compiler
to stop with error when a warning is issued, since GCC 6 has introduced
a lot more warnings, which are triggered by the code.
</para>
</sect2>-->
</sect2>
<sect2 role="configuration">
<title>Configuring Logrotate</title>

View File

@ -97,6 +97,22 @@ make</userinput></screen>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="configuration">
<title>Configuring smartmontools</title>
<sect3 id="smartmontools-config">
<title>Config File</title>
<para>
<filename>/etc/smartd.conf</filename>
</para>
<indexterm zone="smartmontools smartmontools-config">
<primary sortas="e-etc-smartd.conf">/etc/smartd.conf</primary>
</indexterm>
</sect3>
<sect3>
<title>Configuration Information</title>

View File

@ -128,6 +128,15 @@ cp -v policy/*.txt /usr/share/doc/tripwire-&tripwire-version;</userinput></scree
Of course, you should do this with dummy passwords and change them
later.
</para>
<para>
Another issue when scripting is that the installer exits when the
standard input is not a terminal. You may disable this beahvior
with the following sed:
</para>
<screen><userinput>sed '/-t 0/,+3d' -i installer/install.sh</userinput></screen>
</note>
</sect2>

View File

@ -161,7 +161,7 @@
group. Create this group by issuing the following commands as the
<systemitem class="username">root</systemitem> user:</para>
<screen><userinput>groupadd -g 70 scanner</userinput></screen>
<screen role="root"><userinput>groupadd -g 70 scanner</userinput></screen>
<note>
<para>

View File

@ -181,11 +181,11 @@ EOF</userinput></screen>
<filename>/etc/vsftpd.conf</filename> file (as the
<systemitem class="username">root</systemitem> user):</para>
<screen><userinput role="root">cat &gt;&gt; /etc/vsftpd.conf &lt;&lt; "EOF"
<screen role="root"><userinput>cat &gt;&gt; /etc/vsftpd.conf &lt;&lt; "EOF"
<literal>local_enable=YES</literal>
EOF</userinput></screen>
<para>In additon, if using <application>Linux-PAM</application> and
<para>In addition, if using <application>Linux-PAM</application> and
<application>vsftpd</application> with local user logins, you will need
a <application>Linux-PAM</application> configuration file. As the
<systemitem class="username">root</systemitem> user, create the
@ -193,7 +193,7 @@ EOF</userinput></screen>
configuration changes for <application>Linux-PAM</application> session
support using the following commands:</para>
<screen><userinput role="root">cat &gt; /etc/pam.d/vsftpd &lt;&lt; "EOF" &amp;&amp;
<screen role="root"><userinput>cat &gt; /etc/pam.d/vsftpd &lt;&lt; "EOF" &amp;&amp;
<literal># Begin /etc/pam.d/vsftpd
auth required /lib/security/pam_listfile.so item=user sense=deny \
file=/etc/ftpusers \