From a7cf578548c2dcd6c5ce30233c2f2eaa7e08ecac Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 18 Mar 2005 16:53:46 +0000 Subject: 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) --- docs/smbdotconf/logon/abortshutdownscript.xml | 8 ++++---- docs/smbdotconf/logon/shutdownscript.xml | 16 +++++++++------- docs/smbdotconf/security/inheritowner.xml | 21 +++++++++++++++++++++ 3 files changed, 34 insertions(+), 11 deletions(-) create mode 100644 docs/smbdotconf/security/inheritowner.xml diff --git a/docs/smbdotconf/logon/abortshutdownscript.xml b/docs/smbdotconf/logon/abortshutdownscript.xml index 60978b6835..d41a98cd66 100644 --- a/docs/smbdotconf/logon/abortshutdownscript.xml +++ b/docs/smbdotconf/logon/abortshutdownscript.xml @@ -1,16 +1,16 @@ - This parameter only exists in the HEAD cvs branch - This a full path name to a script called by smbd + This a full path name to a script called by smbd 8 that should stop a shutdown procedure issued by the shutdown script. - This command will be run as user. + If the connected user posseses the SeRemoteShutdownPrivilege, + right, this command will be run as user. /sbin/shutdown -c diff --git a/docs/smbdotconf/logon/shutdownscript.xml b/docs/smbdotconf/logon/shutdownscript.xml index 3ef072801a..1866972ba4 100644 --- a/docs/smbdotconf/logon/shutdownscript.xml +++ b/docs/smbdotconf/logon/shutdownscript.xml @@ -1,20 +1,22 @@ - This parameter only exists in the HEAD cvs branch - This a full path name to a script called by smbd - 8 that should start a shutdown procedure. + This a full path name to a script called by + smbd + 8 that should + start a shutdown procedure. - This command will be run as the user connected to the server. + If the connected user posseses the SeRemoteShutdownPrivilege, + right, this command will be run as user. - %m %t %r %f parameters are expanded: + The %z %t %r %f variables are expanded as follows: - %m will be substituted with the + %z will be substituted with the shutdown message sent to the server. diff --git a/docs/smbdotconf/security/inheritowner.xml b/docs/smbdotconf/security/inheritowner.xml new file mode 100644 index 0000000000..ba4fc617cb --- /dev/null +++ b/docs/smbdotconf/security/inheritowner.xml @@ -0,0 +1,21 @@ + + + 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. + + 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. + + +inherit permissions + +no + -- cgit