Ignore:
Timestamp:
02/23/2018 09:27:30 PM (6 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
1c1bdba
Parents:
99b60d6
Message:

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".

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19852 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/samba.xml

    r99b60d6 r8c2155e  
    445445      </sect4>
    446446
     447      <sect4>
     448        <title>Guest account</title>
     449
     450        <para>The default <application>Samba</application> installation uses the
     451        <systemitem class='username'>nobody</systemitem> user for guest access
     452        to the server. This can be overridden by setting the
     453        <option>guest account =</option> parameter in the
     454        <filename>/etc/samba/smb.conf</filename> file. If you utilize the
     455        <option>guest account =</option> parameter, ensure this user exists in
     456        the <filename>/etc/passwd</filename> file. To use the default user,
     457        create the following group and account, if you haven't done so in LFS.
     458        As the <systemitem class='username'>root</systemitem> user:</para>
     459
     460<screen role="role=nodump"><userinput>groupadd -g 99 nogroup &amp;&amp;
     461useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \
     462        -s /bin/false -u 99 nobody</userinput></screen>
     463
     464      </sect4>
     465
    447466      <sect4 id="samba-init" revision="sysv">
    448467        <title>Boot Script</title>
     
    465484        </indexterm>
    466485
    467         <para>The default <application>Samba</application> installation uses the
    468         <systemitem class='username'>nobody</systemitem> user for guest access
    469         to the server. This can be overridden by setting the
    470         <option>guest account =</option> parameter in the
    471         <filename>/etc/samba/smb.conf</filename> file. If you utilize the
    472         <option>guest account =</option> parameter, ensure this user exists in
    473         the <filename>/etc/passwd</filename> file. To use the default user,
    474         issue the following commands as the
    475         <systemitem class='username'>root</systemitem> user:</para>
    476 
    477 <screen role="root"><userinput>groupadd -g 99 nogroup &amp;&amp;
    478 useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \
    479     -s /bin/false -u 99 nobody</userinput></screen>
    480 
    481         <para>Install the <filename>samba</filename> script with the following
    482         command issued as the <systemitem class="username">root</systemitem>
    483         user:</para>
    484 
    485486<screen role="root"><userinput>make install-samba</userinput></screen>
    486 
    487         <para>If you also need the <filename>winbindd</filename>
    488         script to resolve names from Windows clients, run:</para>
    489487
    490488<screen role="root"><userinput>make install-winbindd</userinput></screen>
     
    494492      <sect4 id="samba-init-sysd" revision="systemd">
    495493        <title>Systemd Units</title>
    496 
    497         <para>The default <application>Samba</application> installation uses the
    498         <systemitem class='username'>nobody</systemitem> user for guest access
    499         to the server. This can be overridden by setting the
    500         <option>guest account =</option> parameter in the
    501         <filename>/etc/samba/smb.conf</filename> file. If you utilize the
    502         <option>guest account =</option> parameter, ensure this user exists in
    503         the <filename>/etc/passwd</filename> file.</para>
    504494
    505495        <para>
Note: See TracChangeset for help on using the changeset viewer.