r4557 - in trunk/BOOK: basicnet/netprogs introduction/welcome server/major

randy at linuxfromscratch.org randy at linuxfromscratch.org
Mon Jun 6 09:27:35 PDT 2005


Author: randy
Date: 2005-06-06 10:27:33 -0600 (Mon, 06 Jun 2005)
New Revision: 4557

Modified:
   trunk/BOOK/basicnet/netprogs/samba3-client.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/server/major/samba3.xml
Log:
Fixed typos and added a note about unprivileged users mounting SMB shares to the Samba server instructions

Modified: trunk/BOOK/basicnet/netprogs/samba3-client.xml
===================================================================
--- trunk/BOOK/basicnet/netprogs/samba3-client.xml	2005-06-06 06:05:02 UTC (rev 4556)
+++ trunk/BOOK/basicnet/netprogs/samba3-client.xml	2005-06-06 16:27:33 UTC (rev 4557)
@@ -16,8 +16,8 @@
   <title>Samba-&samba3-version; Client</title>
 
   <para>The <application>Samba</application> client utilities are used to
-  transfer files to and from, mount volumes located on or use printers
-  attached to Windows and other SMB clients. If you want to install these
+  transfer files to and from, mount SMB shares located on or use printers
+  attached to Windows and other SMB servers. If you want to install these
   utilities, the instructions can be found in Chapter 21 –
   <xref linkend="samba3"/>. After performing the basic installation,
   configure the utilities using the configuration section titled

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-06-06 06:05:02 UTC (rev 4556)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-06-06 16:27:33 UTC (rev 4557)
@@ -25,6 +25,11 @@
   <itemizedlist>
 
     <listitem>
+      <para>June 6th, 2005 [randy]: Added a note to the Samba instructions
+      about unprivileged users mounting SMB shares.</para>
+    </listitem>
+
+    <listitem>
       <para>June 6th, 2005 [bdubbs]: Updated bind and bind-utils sections
       to version 9.3.1.</para>
     </listitem>

Modified: trunk/BOOK/server/major/samba3.xml
===================================================================
--- trunk/BOOK/server/major/samba3.xml	2005-06-06 06:05:02 UTC (rev 4556)
+++ trunk/BOOK/server/major/samba3.xml	2005-06-06 16:27:33 UTC (rev 4557)
@@ -186,6 +186,23 @@
     </sect3>
 
     <sect3>
+      <title>Mounting Shares by Unprivileged Users</title>
+
+      <para>If it is desired for unprivileged users to directly mount (and
+      unmount) SMB shares, the <command>smbmnt</command> and
+      <command>smbumount</command> commands must be setuid
+      <systemitem class='username'>root</systemitem>. Note that users can
+      only mount SMB shares if the share is owned by that user, and the user
+      has write access. If desired, change these programs to setuid
+      <systemitem class='username'>root</systemitem> by issuing the following
+      command as the <systemitem class='username'>root</systemitem> 
+      user:</para>
+
+<screen role="root"><userinput>chmod -v 4755 /usr/bin/smb{mnt,umount}</userinput></screen>
+
+    </sect3>
+
+    <sect3>
       <title>Printing to SMB Clients</title>
 
       <para>If you use <application>CUPS</application> for print services,
@@ -641,7 +658,7 @@
       <varlistentry id="mount.smbfs">
         <term><command>mount.smbfs</command></term>
         <listitem>
-          <para>is a symlink to <command>mountsmb</command> which provides
+          <para>is a symlink to <command>smbmount</command> which provides
           <command>/bin/mount</command> with a way to mount remote Windows
           (or <application>Samba</application>) fileshares.</para>
           <indexterm zone="samba3 mount.smbfs">




More information about the blfs-book mailing list