Changeset 988 for vendor/current/docs/manpages/sharesec.1
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/docs/manpages/sharesec.1
r860 r988 2 2 .\" Title: sharesec 3 3 .\" Author: [see the "AUTHOR" section] 4 .\" Generator: DocBook XSL Stylesheets v1.7 6.1 <http://docbook.sf.net/>5 .\" Date: 0 9/18/20134 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> 5 .\" Date: 05/02/2016 6 6 .\" Manual: User Commands 7 .\" Source: Samba 3.67 .\" Source: Samba 4.4 8 8 .\" Language: English 9 9 .\" 10 .TH "SHARESEC" "1" "0 9/18/2013" "Samba 3\&.6" "User Commands"10 .TH "SHARESEC" "1" "05/02/2016" "Samba 4\&.4" "User Commands" 11 11 .\" ----------------------------------------------------------------- 12 12 .\" * Define some portability stuff … … 32 32 .SH "SYNOPSIS" 33 33 .HP \w'\ 'u 34 sharesec {sharename} [\-r,\ \-\-remove=ACL] [\-m,\ \-\-modify=ACL] [\-a,\ \-\-add=ACL] [\-R,\ \-\-replace=ACLs] [\-D,\ \-\-delete] [\-v,\ \-\-view] [\- M,\ \-\-machine\-sid] [\-F,\ \-\-force] [\-d,\ \-\-debuglevel=DEBUGLEVEL] [\-s,\ \-\-configfile=CONFIGFILE] [\-l,\ \-\-log\-basename=LOGFILEBASE] [\-V,\ \-\-version] [\-?,\ \-\-help] [\-\-usage]34 sharesec {sharename} [\-r,\ \-\-remove=ACL] [\-m,\ \-\-modify=ACL] [\-a,\ \-\-add=ACL] [\-R,\ \-\-replace=ACLs] [\-D,\ \-\-delete] [\-v,\ \-\-view] [\-\-view\-all] [\-M,\ \-\-machine\-sid] [\-F,\ \-\-force] [\-d,\ \-\-debuglevel=DEBUGLEVEL] [\-s,\ \-\-configfile=CONFIGFILE] [\-l,\ \-\-log\-basename=LOGFILEBASE] [\-\-version] [\-?,\ \-\-help] [\-\-usage] [\-S,\ \-\-setsddl=STRING] [\-V,\ \-\-viewsddl] 35 35 .SH "DESCRIPTION" 36 36 .PP … … 83 83 .RE 84 84 .PP 85 \-h|\-\-help 86 .RS 4 87 Print a summary of command line options\&. 88 .RE 89 .PP 90 \-d|\-\-debuglevel=level 91 .RS 4 92 \fIlevel\fR 93 is an integer from 0 to 10\&. The default value if this parameter is not specified is 0\&. 94 .sp 95 The higher this value, the more detail will be logged to the log files about the activities of the server\&. At level 0, only critical errors and serious warnings will be logged\&. Level 1 is a reasonable level for day\-to\-day running \- it generates a small amount of information about operations carried out\&. 96 .sp 97 Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem\&. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic\&. 98 .sp 99 Note that specifying this parameter here will override the 100 \m[blue]\fBlog level\fR\m[] 101 parameter in the 102 smb\&.conf 103 file\&. 104 .RE 105 .PP 106 \-V|\-\-version 107 .RS 4 108 Prints the program version number\&. 109 .RE 110 .PP 111 \-s|\-\-configfile <configuration file> 112 .RS 4 113 The file specified contains the configuration details required by the server\&. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\&. See 114 smb\&.conf 115 for more information\&. The default configuration file name is determined at compile time\&. 116 .RE 117 .PP 118 \-l|\-\-log\-basename=logdirectory 119 .RS 4 120 Base directory name for log/debug files\&. The extension 121 \fB"\&.progname"\fR 122 will be appended (e\&.g\&. log\&.smbclient, log\&.smbd, etc\&.\&.\&.)\&. The log file is never removed by the client\&. 85 \-v|\-\-view 86 .RS 4 87 List a share acl 88 .RE 89 .PP 90 \-\-view\-all 91 .RS 4 92 List all share acls 93 .RE 94 .PP 95 \-S|\-\-setsddl=STRING 96 .RS 4 97 Set security descriptor by providing ACL in SDDL format\&. 98 .RE 99 .PP 100 \-V|\-\-viewsddl 101 .RS 4 102 List a share acl in SDDL format\&. 123 103 .RE 124 104 .SH "ACL FORMAT" … … 142 122 The revision of the ACL specifies the internal Windows NT ACL revision for the security descriptor\&. If not specified it defaults to 1\&. Using values other than 1 may cause strange behaviour\&. 143 123 .PP 144 The owner and group specify the owner and group SIDs for the object\&. If a SID in the format S\-1\-x\-y\-z is specified this is used, otherwise the name specified is resolved using the server on which the file or directory resides\&.124 The owner and group specify the owner and group SIDs for the object\&. Share ACLs do not specify an owner or a group, so these fields are empty\&. 145 125 .PP 146 126 ACLs specify permissions granted to the SID\&. This SID can be specified in S\-1\-x\-y\-z format or as a name in which case it is resolved against the server on which the file or directory resides\&. The type, flags and mask values determine the type of access granted to the SID\&. … … 297 277 host:~ # sharesec share \-v 298 278 REVISION:1 299 OWNER:(NULL SID) 300 GROUP:(NULL SID) 301 ACL:S\-1\-1\-0:ALLOWED/0/0x101f01ff 302 ACL:S\-1\-5\-21\-1866488690\-1365729215\-3963860297\-17724:ALLOWED/0/FULL 279 CONTROL:SR|DP 280 OWNER: 281 GROUP: 282 ACL:S\-1\-1\-0:ALLOWED/0x0/FULL 283 ACL:S\-1\-5\-21\-1866488690\-1365729215\-3963860297\-17724:ALLOWED/0x0/FULL 303 284 304 285 .fi
Note:
See TracChangeset
for help on using the changeset viewer.