summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/security/rootdirectory.xml
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-04-06 13:07:44 +0000
committerAlexander Bokovoy <ab@samba.org>2003-04-06 13:07:44 +0000
commit9496f1e2063eb0b93142bfaf86979b21bf8b56e6 (patch)
tree92fbf612a79f79adb14fca2405a68308fea3ead1 /docs/docbook/smbdotconf/security/rootdirectory.xml
parentc5ab17567cf6681f567b73ba8ed0653fbb64f453 (diff)
downloadsamba-9496f1e2063eb0b93142bfaf86979b21bf8b56e6.tar.gz
samba-9496f1e2063eb0b93142bfaf86979b21bf8b56e6.tar.bz2
samba-9496f1e2063eb0b93142bfaf86979b21bf8b56e6.zip
Convert 'Security' section of smb.conf to new format
(This used to be commit 85eadec0838bdcb5604d5cf66b204ee610e2ad7a)
Diffstat (limited to 'docs/docbook/smbdotconf/security/rootdirectory.xml')
-rw-r--r--docs/docbook/smbdotconf/security/rootdirectory.xml58
1 files changed, 32 insertions, 26 deletions
diff --git a/docs/docbook/smbdotconf/security/rootdirectory.xml b/docs/docbook/smbdotconf/security/rootdirectory.xml
index 9efc11e3c6..9c3e9cfad2 100644
--- a/docs/docbook/smbdotconf/security/rootdirectory.xml
+++ b/docs/docbook/smbdotconf/security/rootdirectory.xml
@@ -1,28 +1,34 @@
-<samba:parameter xmlns:samba="http://samba.org/common">
- <term><anchor id="ROOTDIRECTORY"/>root directory (G)</term>
- <listitem><para>The server will <command moreinfo="none">chroot()</command> (i.e.
- Change its root directory) to this directory on startup. This is
- not strictly necessary for secure operation. Even without it the
- server will deny access to files not in one of the service entries.
- It may also check for, and deny access to, soft links to other
- parts of the filesystem, or attempts to use &quot;..&quot; in file names
- to access other directories (depending on the setting of the <link linkend="WIDELINKS"><parameter moreinfo="none">wide links</parameter></link>
- parameter).</para>
+<samba:parameter name="root directory"
+ context="G"
+ advanced="1" developer="1"
+ xmlns:samba="http://samba.org/common">
+<listitem>
+ <para>The server will <command moreinfo="none">chroot()</command> (i.e.
+ Change its root directory) to this directory on startup. This is
+ not strictly necessary for secure operation. Even without it the
+ server will deny access to files not in one of the service entries.
+ It may also check for, and deny access to, soft links to other
+ parts of the filesystem, or attempts to use &quot;..&quot; in file names
+ to access other directories (depending on the setting of the <link linkend="WIDELINKS">
+ <parameter moreinfo="none">wide links</parameter></link>
+ parameter).
+ </para>
- <para>Adding a <parameter moreinfo="none">root directory</parameter> entry other
- than &quot;/&quot; adds an extra level of security, but at a price. It
- absolutely ensures that no access is given to files not in the
- sub-tree specified in the <parameter moreinfo="none">root directory</parameter>
- option, <emphasis>including</emphasis> some files needed for
- complete operation of the server. To maintain full operability
- of the server you will need to mirror some system files
- into the <parameter moreinfo="none">root directory</parameter> tree. In particular
- you will need to mirror <filename moreinfo="none">/etc/passwd</filename> (or a
- subset of it), and any binaries or configuration files needed for
- printing (if required). The set of files that must be mirrored is
- operating system dependent.</para>
+ <para>Adding a <parameter moreinfo="none">root directory</parameter> entry other
+ than &quot;/&quot; adds an extra level of security, but at a price. It
+ absolutely ensures that no access is given to files not in the
+ sub-tree specified in the <parameter moreinfo="none">root directory</parameter>
+ option, <emphasis>including</emphasis> some files needed for
+ complete operation of the server. To maintain full operability
+ of the server you will need to mirror some system files
+ into the <parameter moreinfo="none">root directory</parameter> tree. In particular
+ you will need to mirror <filename moreinfo="none">/etc/passwd</filename> (or a
+ subset of it), and any binaries or configuration files needed for
+ printing (if required). The set of files that must be mirrored is
+ operating system dependent.</para>
- <para>Default: <command moreinfo="none">root directory = /</command></para>
- <para>Example: <command moreinfo="none">root directory = /homes/smb</command></para>
- </listitem>
- </samba:parameter>
+ <para>Default: <command moreinfo="none">root directory = /</command></para>
+
+ <para>Example: <command moreinfo="none">root directory = /homes/smb</command></para>
+</listitem>
+</samba:parameter>