Changeset 8c2155e for networking/netprogs/samba.xml
- Timestamp:
- 02/23/2018 09:27:30 PM (6 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
networking/netprogs/samba.xml
r99b60d6 r8c2155e 445 445 </sect4> 446 446 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 && 461 useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \ 462 -s /bin/false -u 99 nobody</userinput></screen> 463 464 </sect4> 465 447 466 <sect4 id="samba-init" revision="sysv"> 448 467 <title>Boot Script</title> … … 465 484 </indexterm> 466 485 467 <para>The default <application>Samba</application> installation uses the468 <systemitem class='username'>nobody</systemitem> user for guest access469 to the server. This can be overridden by setting the470 <option>guest account =</option> parameter in the471 <filename>/etc/samba/smb.conf</filename> file. If you utilize the472 <option>guest account =</option> parameter, ensure this user exists in473 the <filename>/etc/passwd</filename> file. To use the default user,474 issue the following commands as the475 <systemitem class='username'>root</systemitem> user:</para>476 477 <screen role="root"><userinput>groupadd -g 99 nogroup &&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 following482 command issued as the <systemitem class="username">root</systemitem>483 user:</para>484 485 486 <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>489 487 490 488 <screen role="root"><userinput>make install-winbindd</userinput></screen> … … 494 492 <sect4 id="samba-init-sysd" revision="systemd"> 495 493 <title>Systemd Units</title> 496 497 <para>The default <application>Samba</application> installation uses the498 <systemitem class='username'>nobody</systemitem> user for guest access499 to the server. This can be overridden by setting the500 <option>guest account =</option> parameter in the501 <filename>/etc/samba/smb.conf</filename> file. If you utilize the502 <option>guest account =</option> parameter, ensure this user exists in503 the <filename>/etc/passwd</filename> file.</para>504 494 505 495 <para>
Note:
See TracChangeset
for help on using the changeset viewer.