mirror of
https://github.com/samba-team/samba.git
synced 2025-01-20 14:03:59 +03:00
correct '[abort] shutdown script' explanation (has been in 3.0.x
for a while now). add basic description of 'inherit owner' parameter (jra, feel free to add more to this for describing the drop-box scenario). (This used to be commit e23b9490ccd35634edbf99570f81810bd0c4052e)
This commit is contained in:
parent
dca802a68a
commit
a7cf578548
@ -1,16 +1,16 @@
|
|||||||
<samba:parameter name="abort shutdown script"
|
<samba:parameter name="abort shutdown script"
|
||||||
context="G"
|
context="G"
|
||||||
advanced="1" developer="1"
|
advanced="1" developer="1"
|
||||||
type="string"
|
type="string"
|
||||||
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
||||||
<description>
|
<description>
|
||||||
<para><emphasis>This parameter only exists in the HEAD cvs branch</emphasis>
|
<para>This a full path name to a script called by <citerefentry><refentrytitle>smbd</refentrytitle>
|
||||||
This a full path name to a script called by <citerefentry><refentrytitle>smbd</refentrytitle>
|
|
||||||
<manvolnum>8</manvolnum></citerefentry> that
|
<manvolnum>8</manvolnum></citerefentry> that
|
||||||
should stop a shutdown procedure issued by the <link linkend="SHUTDOWNSCRIPT">
|
should stop a shutdown procedure issued by the <link linkend="SHUTDOWNSCRIPT">
|
||||||
<parameter moreinfo="none">shutdown script</parameter></link>.</para>
|
<parameter moreinfo="none">shutdown script</parameter></link>.</para>
|
||||||
|
|
||||||
<para>This command will be run as user.</para>
|
<para>If the connected user posseses the <constant>SeRemoteShutdownPrivilege</constant>,
|
||||||
|
right, this command will be run as user.</para>
|
||||||
</description>
|
</description>
|
||||||
<value type="default"></value>
|
<value type="default"></value>
|
||||||
<value type="example">/sbin/shutdown -c</value>
|
<value type="example">/sbin/shutdown -c</value>
|
||||||
|
@ -1,20 +1,22 @@
|
|||||||
<samba:parameter name="shutdown script"
|
<samba:parameter name="shutdown script"
|
||||||
context="G"
|
context="G"
|
||||||
type="string"
|
type="string"
|
||||||
advanced="1" developer="1"
|
advanced="1" developer="1"
|
||||||
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
||||||
<description>
|
<description>
|
||||||
<para><emphasis>This parameter only exists in the HEAD cvs branch</emphasis>
|
<para>This a full path name to a script called by
|
||||||
This a full path name to a script called by <citerefentry><refentrytitle>smbd</refentrytitle>
|
<citerefentry><refentrytitle>smbd</refentrytitle>
|
||||||
<manvolnum>8</manvolnum></citerefentry> that should start a shutdown procedure.</para>
|
<manvolnum>8</manvolnum></citerefentry> that should
|
||||||
|
start a shutdown procedure.</para>
|
||||||
|
|
||||||
<para>This command will be run as the user connected to the server.</para>
|
<para>If the connected user posseses the <constant>SeRemoteShutdownPrivilege</constant>,
|
||||||
|
right, this command will be run as user.</para>
|
||||||
|
|
||||||
<para>%m %t %r %f parameters are expanded:</para>
|
<para>The %z %t %r %f variables are expanded as follows:</para>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><parameter moreinfo="none">%m</parameter> will be substituted with the
|
<para><parameter moreinfo="none">%z</parameter> will be substituted with the
|
||||||
shutdown message sent to the server.</para>
|
shutdown message sent to the server.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
21
docs/smbdotconf/security/inheritowner.xml
Normal file
21
docs/smbdotconf/security/inheritowner.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<samba:parameter name="inherit owner"
|
||||||
|
context="S"
|
||||||
|
type="boolean"
|
||||||
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
||||||
|
<description>
|
||||||
|
<para>The ownership of new files and directories
|
||||||
|
is normally governed by effective uid of the connected user.
|
||||||
|
This option allows the Samba administrator to specify that
|
||||||
|
the ownership for new files and directories should be controlled
|
||||||
|
by the ownership of the parent directory.</para>
|
||||||
|
|
||||||
|
<para>Common scenarios where this behavior is useful is in
|
||||||
|
implementing drop-boxes where users can create and edit files but not
|
||||||
|
delete them and to ensure that newly create files in a user's
|
||||||
|
roaming profile directory are actually owner by the user.</para>
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<related>inherit permissions</related>
|
||||||
|
|
||||||
|
<value type="default">no</value>
|
||||||
|
</samba:parameter>
|
Loading…
x
Reference in New Issue
Block a user