mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
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:
parent
80a314cae2
commit
1dd7b0aece
@ -100,8 +100,9 @@
|
|||||||
command:
|
command:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>./autogen.sh &&
|
<screen><userinput>sed 's/-Werror//' Makefile.am &&
|
||||||
./configure --prefix=/usr &&
|
./autogen.sh &&
|
||||||
|
./configure --prefix=/usr &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -115,16 +116,17 @@ make</userinput></screen>
|
|||||||
<screen role="root"><userinput>make install</userinput></screen>
|
<screen role="root"><userinput>make install</userinput></screen>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
<!--
|
|
||||||
<sect2 role="commands">
|
<sect2 role="commands">
|
||||||
<title>Command Explanations</title>
|
<title>Command Explanations</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<envar>MANDIR=/usr/share/man</envar>: Ensure the man pages are installed
|
<command>sed 's/-Werror//' Makefile.am</command>: Prevents the compiler
|
||||||
in the correct location.
|
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>
|
</para>
|
||||||
|
|
||||||
</sect2>-->
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="configuration">
|
<sect2 role="configuration">
|
||||||
<title>Configuring Logrotate</title>
|
<title>Configuring Logrotate</title>
|
||||||
|
@ -97,6 +97,22 @@ make</userinput></screen>
|
|||||||
|
|
||||||
<screen role="root"><userinput>make install</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>
|
<sect3>
|
||||||
<title>Configuration Information</title>
|
<title>Configuration Information</title>
|
||||||
|
|
||||||
|
@ -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
|
Of course, you should do this with dummy passwords and change them
|
||||||
later.
|
later.
|
||||||
</para>
|
</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>
|
</note>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -161,7 +161,7 @@
|
|||||||
group. Create this group by issuing the following commands as the
|
group. Create this group by issuing the following commands as the
|
||||||
<systemitem class="username">root</systemitem> user:</para>
|
<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>
|
<note>
|
||||||
<para>
|
<para>
|
||||||
|
@ -181,11 +181,11 @@ EOF</userinput></screen>
|
|||||||
<filename>/etc/vsftpd.conf</filename> file (as the
|
<filename>/etc/vsftpd.conf</filename> file (as the
|
||||||
<systemitem class="username">root</systemitem> user):</para>
|
<systemitem class="username">root</systemitem> user):</para>
|
||||||
|
|
||||||
<screen><userinput role="root">cat >> /etc/vsftpd.conf << "EOF"
|
<screen role="root"><userinput>cat >> /etc/vsftpd.conf << "EOF"
|
||||||
<literal>local_enable=YES</literal>
|
<literal>local_enable=YES</literal>
|
||||||
EOF</userinput></screen>
|
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
|
<application>vsftpd</application> with local user logins, you will need
|
||||||
a <application>Linux-PAM</application> configuration file. As the
|
a <application>Linux-PAM</application> configuration file. As the
|
||||||
<systemitem class="username">root</systemitem> user, create the
|
<systemitem class="username">root</systemitem> user, create the
|
||||||
@ -193,7 +193,7 @@ EOF</userinput></screen>
|
|||||||
configuration changes for <application>Linux-PAM</application> session
|
configuration changes for <application>Linux-PAM</application> session
|
||||||
support using the following commands:</para>
|
support using the following commands:</para>
|
||||||
|
|
||||||
<screen><userinput role="root">cat > /etc/pam.d/vsftpd << "EOF" &&
|
<screen role="root"><userinput>cat > /etc/pam.d/vsftpd << "EOF" &&
|
||||||
<literal># Begin /etc/pam.d/vsftpd
|
<literal># Begin /etc/pam.d/vsftpd
|
||||||
auth required /lib/security/pam_listfile.so item=user sense=deny \
|
auth required /lib/security/pam_listfile.so item=user sense=deny \
|
||||||
file=/etc/ftpusers \
|
file=/etc/ftpusers \
|
||||||
|
Loading…
Reference in New Issue
Block a user