diff options
author | bubulle <bubulle@alioth.debian.org> | 2008-05-22 09:48:21 +0000 |
---|---|---|
committer | bubulle <bubulle@alioth.debian.org> | 2008-05-22 09:48:21 +0000 |
commit | 695ee7a6446c9295644e74f44fc37d22e5fceae0 (patch) | |
tree | 4b5237206853f66748132295c22bba542b0df928 /docs/manpages/net.8 | |
parent | c3f02f9dc6ef8a51ed0e0d6e0673eb7384e2b8d0 (diff) | |
download | samba-695ee7a6446c9295644e74f44fc37d22e5fceae0.tar.gz |
Load samba-3.0.29 into branches/samba/upstream.
git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream@1882 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'docs/manpages/net.8')
-rw-r--r-- | docs/manpages/net.8 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/manpages/net.8 b/docs/manpages/net.8 index 804bd13a01..f41dcd51d6 100644 --- a/docs/manpages/net.8 +++ b/docs/manpages/net.8 @@ -662,7 +662,7 @@ Store a secret for the specified domain, used primarily for domains that use idm .PP Starting with version 3\.0\.23, a Samba server now supports the ability for non\-root users to add user defined shares to be exported using the "net usershare" commands\. .PP -Members of the UNIX group "sambashare" can create user defined shares on demand using the commands below. +To set this up, first set up your smb\.conf by adding to the [global] section: usershare path = /usr/local/samba/lib/usershares Next create the directory /usr/local/samba/lib/usershares, change the owner to root and set the group owner to the UNIX group who should have the ability to create usershares, for example a group called "serverops"\. Set the permissions on /usr/local/samba/lib/usershares to 01770\. (Owner and group all access, no access for others, plus the sticky bit, which means that a file in that directory can be renamed or deleted only by the owner of the file)\. Finally, tell smbd how many usershares you will allow by adding to the [global] section of smb\.conf a line such as : usershare max shares = 100\. To allow 100 usershare definitions\. Now, members of the UNIX group "serverops" can create user defined shares on demand using the commands below\. .PP The usershare commands are: .IP "" 4 |