Author: pierre Date: Fri Feb 23 13:27:30 2018 New Revision: 19852 Log: Miscellaneous: - few typos - indentation in perl-modules - I do not understand why we have several places where group nogroup and user nobody are created, since this has been done in LFS. Made those "nodump".
Modified: trunk/BOOK/general/genlib/gsl.xml trunk/BOOK/general/prog/perl-modules.xml trunk/BOOK/networking/netlibs/rpcsvc-proto.xml trunk/BOOK/networking/netprogs/nfs-utils.xml trunk/BOOK/networking/netprogs/samba.xml trunk/BOOK/pst/scanning/sane.xml trunk/BOOK/xsoft/office/abiword.xml Modified: trunk/BOOK/general/genlib/gsl.xml ============================================================================== --- trunk/BOOK/general/genlib/gsl.xml Fri Feb 23 07:48:47 2018 (r19851) +++ trunk/BOOK/general/genlib/gsl.xml Fri Feb 23 13:27:30 2018 (r19852) @@ -96,7 +96,7 @@ make</userinput></screen> <para>If you have the optional <application>Sphinx</application> package - installed, buid the documentaiton with:</para> + installed, buid the documentation with:</para> <screen><userinput>make html</userinput></screen> Modified: trunk/BOOK/general/prog/perl-modules.xml ============================================================================== --- trunk/BOOK/general/prog/perl-modules.xml Fri Feb 23 07:48:47 2018 (r19851) +++ trunk/BOOK/general/prog/perl-modules.xml Fri Feb 23 13:27:30 2018 (r19852) @@ -571,7 +571,7 @@ <listitem><literallayout><ulink url="http://search.cpan.org/dist/DateTime/">DateTime</ulink> (http://search.cpan.org/dist/DateTime)</literallayout> <itemizedlist> - <!-- Both DateTime ::Locale and DateTime::TimeZone now need + <!-- Both DateTime::Locale and DateTime::TimeZone now need namespace::autoclean, Specio and Params::ValidationCompiler. The latter needs Specio but only for its testsuite --> @@ -946,20 +946,20 @@ </itemizedlist> <!-- end of deps for Package-DeprecationManager --> </listitem> <!-- Module::Implementation and Test::Fatal are pulled in by DateTime --> - </itemizedlist> <!-- end of deps for DateT ime-Format-Strptime --> + </itemizedlist> <!-- end of deps for DateTime-Format-Strptime --> </listitem> <!-- Test-Fatal and Test-Warnings pulled in by DateTime --> - </itemizedlist> - </listitem> - <!-- Params-Validate --> - <listitem><literallayout><ulink url="http://search.cpan.org/dist/Params-Validate/">Params::Validate</ulink> + <!-- Params-Validate --> + <listitem><literallayout><ulink url="http://search.cpan.org/dist/Params-Validate/">Params::Validate</ulink> (http://search.cpan.org/dist/Params-Validate/) - uses <xref linkend="perl-build-install"/></literallayout> - <!-- deps for Params::Validate: - Module::Build is a dep of Module::Implementation via Module::Runtime, - pulled in by Package::Stash in namespace::clean for - namespace::autoclean in DateTime, and for testsuites Test::Fatal is - pulled in for Dist::CheckConflicts for Package::Stash, and - Test::Requires by Package::Stash::XS for Package::Stash --> + <!-- deps for Params::Validate: + Module::Build is a dep of Module::Implementation via Module::Runtime, + pulled in by Package::Stash in namespace::clean for + namespace::autoclean in DateTime, and for testsuites Test::Fatal is + pulled in for Dist::CheckConflicts for Package::Stash, and + Test::Requires by Package::Stash::XS for Package::Stash --> + </listitem> + </itemizedlist> </listitem> </itemizedlist> @@ -1659,8 +1659,8 @@ </indexterm> <para>Module::Runtime provides functions to deal with runtime - handling of Perl modules. This module itself uses the standard - <xref linkend="perl-standard-install"/>.</para> + handling of Perl modules. This module itself uses the + <xref linkend="perl-build-install"/>.</para> <!-- Module-Runtime --> &lfs82_checked; Modified: trunk/BOOK/networking/netlibs/rpcsvc-proto.xml ============================================================================== --- trunk/BOOK/networking/netlibs/rpcsvc-proto.xml Fri Feb 23 07:48:47 2018 (r19851) +++ trunk/BOOK/networking/netlibs/rpcsvc-proto.xml Fri Feb 23 13:27:30 2018 (r19852) @@ -32,7 +32,7 @@ <para> The <application>rpcsvc-proto</application> package contains the rcpsvc protocol.x files and headers, formerly included with GlibC, that are not - included in replacment <xref linkend="libtirpc"/>, along with the rpcgen + included in replacement <xref linkend="libtirpc"/>, along with the rpcgen program. </para> Modified: trunk/BOOK/networking/netprogs/nfs-utils.xml ============================================================================== --- trunk/BOOK/networking/netprogs/nfs-utils.xml Fri Feb 23 07:48:47 2018 (r19851) +++ trunk/BOOK/networking/netprogs/nfs-utils.xml Fri Feb 23 13:27:30 2018 (r19852) @@ -148,7 +148,7 @@ the current LFS book. You can add them by running the following commands as the <systemitem class="username">root</systemitem> user:</para> -<screen role="root"><userinput>groupadd -g 99 nogroup && +<screen role="nodump"><userinput>groupadd -g 99 nogroup && useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \ -s /bin/false -u 99 nobody</userinput></screen> Modified: trunk/BOOK/networking/netprogs/samba.xml ============================================================================== --- trunk/BOOK/networking/netprogs/samba.xml Fri Feb 23 07:48:47 2018 (r19851) +++ trunk/BOOK/networking/netprogs/samba.xml Fri Feb 23 13:27:30 2018 (r19852) @@ -444,6 +444,25 @@ </sect4> + <sect4> + <title>Guest account</title> + + <para>The default <application>Samba</application> installation uses the + <systemitem class='username'>nobody</systemitem> user for guest access + to the server. This can be overridden by setting the + <option>guest account =</option> parameter in the + <filename>/etc/samba/smb.conf</filename> file. If you utilize the + <option>guest account =</option> parameter, ensure this user exists in + the <filename>/etc/passwd</filename> file. To use the default user, + create the following group and account, if you haven't done so in LFS. + As the <systemitem class='username'>root</systemitem> user:</para> + +<screen role="role=nodump"><userinput>groupadd -g 99 nogroup && +useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \ + -s /bin/false -u 99 nobody</userinput></screen> + + </sect4> + <sect4 id="samba-init" revision="sysv"> <title>Boot Script</title> @@ -464,29 +483,8 @@ <primary sortas="f-winbind">winbind</primary> </indexterm> - <para>The default <application>Samba</application> installation uses the - <systemitem class='username'>nobody</systemitem> user for guest access - to the server. This can be overridden by setting the - <option>guest account =</option> parameter in the - <filename>/etc/samba/smb.conf</filename> file. If you utilize the - <option>guest account =</option> parameter, ensure this user exists in - the <filename>/etc/passwd</filename> file. To use the default user, - issue the following commands as the - <systemitem class='username'>root</systemitem> user:</para> - -<screen role="root"><userinput>groupadd -g 99 nogroup && -useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \ - -s /bin/false -u 99 nobody</userinput></screen> - - <para>Install the <filename>samba</filename> script with the following - command issued as the <systemitem class="username">root</systemitem> - user:</para> - <screen role="root"><userinput>make install-samba</userinput></screen> - <para>If you also need the <filename>winbindd</filename> - script to resolve names from Windows clients, run:</para> - <screen role="root"><userinput>make install-winbindd</userinput></screen> </sect4> @@ -494,14 +492,6 @@ <sect4 id="samba-init-sysd" revision="systemd"> <title>Systemd Units</title> - <para>The default <application>Samba</application> installation uses the - <systemitem class='username'>nobody</systemitem> user for guest access - to the server. This can be overridden by setting the - <option>guest account =</option> parameter in the - <filename>/etc/samba/smb.conf</filename> file. If you utilize the - <option>guest account =</option> parameter, ensure this user exists in - the <filename>/etc/passwd</filename> file.</para> - <para> To start the <application>Samba</application> daemons at boot, install the systemd units from the <xref linkend="systemd-units"/> Modified: trunk/BOOK/pst/scanning/sane.xml ============================================================================== --- trunk/BOOK/pst/scanning/sane.xml Fri Feb 23 07:48:47 2018 (r19851) +++ trunk/BOOK/pst/scanning/sane.xml Fri Feb 23 13:27:30 2018 (r19852) @@ -180,7 +180,7 @@ --sysconfdir=/etc \ --localstatedir=/var \ --with-group=scanner \ - --with-docdir=/usr/share/doc/sane-backend-&sane-version; && + --with-docdir=/usr/share/doc/sane-backends-&sane-version; && make</userinput></screen> <para>To test the results, issue: <command>make check</command>.</para> Modified: trunk/BOOK/xsoft/office/abiword.xml ============================================================================== --- trunk/BOOK/xsoft/office/abiword.xml Fri Feb 23 07:48:47 2018 (r19851) +++ trunk/BOOK/xsoft/office/abiword.xml Fri Feb 23 13:27:30 2018 (r19852) @@ -224,7 +224,7 @@ <title>Command Explanations</title> <para> - <command>sed ...</command>: These commands correc the source for + <command>sed ...</command>: These commands correct the source for changes in dependencies <xref linkend="enchant"/> and <xref linkend="libical"/>. </para> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page