summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/misc/rootpreexec.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docbook/smbdotconf/misc/rootpreexec.xml')
-rw-r--r--docs/docbook/smbdotconf/misc/rootpreexec.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/docbook/smbdotconf/misc/rootpreexec.xml b/docs/docbook/smbdotconf/misc/rootpreexec.xml
new file mode 100644
index 0000000000..29802b6d63
--- /dev/null
+++ b/docs/docbook/smbdotconf/misc/rootpreexec.xml
@@ -0,0 +1,15 @@
+<samba:parameter xmlns:samba="http://samba.org/common">
+ <term><anchor id="ROOTPREEXEC"/>root preexec (S)</term>
+ <listitem><para>This is the same as the <parameter moreinfo="none">preexec</parameter>
+ parameter except that the command is run as root. This
+ is useful for mounting filesystems (such as CDROMs) when a
+ connection is opened.</para>
+
+ <para>See also <link linkend="PREEXEC"><parameter moreinfo="none">
+ preexec</parameter></link> and <link linkend="PREEXECCLOSE">
+ <parameter moreinfo="none">preexec close</parameter></link>.</para>
+
+ <para>Default: <command moreinfo="none">root preexec = &lt;empty string&gt;
+ </command></para>
+ </listitem>
+ </samba:parameter>