summaryrefslogtreecommitdiff
path: root/docs/manpages
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-07 06:22:03 +0000
committerTim Potter <tpot@samba.org>2000-12-07 06:22:03 +0000
commit607c384aa55fb61b02e72217938616feecc322ac (patch)
tree63708fc924825c8aef71c398e1ab2cfec3d600cb /docs/manpages
parent028b197845d0e9d7a6f929b651b32fdd4d48c452 (diff)
downloadsamba-607c384aa55fb61b02e72217938616feecc322ac.tar.gz
samba-607c384aa55fb61b02e72217938616feecc322ac.tar.bz2
samba-607c384aa55fb61b02e72217938616feecc322ac.zip
First cut at a manual page for smbcacls.
(This used to be commit e5defa412874661f5012fa03cba2d854748884c2)
Diffstat (limited to 'docs/manpages')
-rw-r--r--docs/manpages/smbcacls.171
1 files changed, 71 insertions, 0 deletions
diff --git a/docs/manpages/smbcacls.1 b/docs/manpages/smbcacls.1
new file mode 100644
index 0000000000..69e9a92ef4
--- /dev/null
+++ b/docs/manpages/smbcacls.1
@@ -0,0 +1,71 @@
+.TH "smbcacls " "1" "3 Dec 2000" "Samba" "SAMBA"
+.PP
+.SH "NAME"
+smbcacls \- Set or get ACLs on an NT file
+.PP
+.SH "SYNOPSIS"
+.PP
+\fBsmbcacls\fP //server/share filename -U username
+[-A acls] [-M acls]
+[-D acls] [-S acls]
+[-n] [-h]
+.PP
+.SH "DESCRIPTION"
+.PP
+The \fBsmbcacls\fP program manipulates NT Access Control Lists (ACLs) on
+SMB file shares\&.
+.PP
+.SH "OPTIONS"
+.PP
+The following options are available to the \fBsmbcacls\fP program:
+.PP
+.IP
+.IP "\fB-A acls\fP"
+.IP
+Add the ACLs specified to the ACL list\&.
+.IP
+.IP "\fB-M acls\fP"
+.IP
+Modify the mask value (permissions) for the ACLs specified on the command
+line\&. An error will be printed if the ACL specified is not already present
+in the ACL list
+.IP
+.IP "\fB-D acls\fP"
+.IP
+Delete any ACLs specfied on the command line\&. An error is printed if any
+of the ACLs specified are not present in the ACL list\&.
+.IP
+.IP "\fB-S acls\fP"
+.IP
+This command deletes the current ACLs for the file or directory and
+replaces them with the ACLs specified on the command line\&.
+.IP
+.IP "\fB-U username\fP"
+.IP
+Specifies a username used to connect to the specified service\&. The
+username may be of the form \f(CWusername\fP in which case the user is
+prompted to enter in a password and the workgroup specified in the
+\fBsmb\&.conf\fP file is used, or \f(CWusername%password\fP
+or \f(CWDOMAIN\eusername%password\fP and the password and workgroup names are
+used as provided\&.
+.IP
+.IP "\fB-n\fP"
+.IP
+This option displays all ACL information in numeric format\&. The default is
+to convert SIDs to names and ACE types and masks to a readable string
+format\&.
+.IP
+.IP "\fB-h\fP"
+.IP
+Print usage information on the \fBsmbcacls\fP program
+.IP
+.PP
+.SH "EXIT STATUS"
+.PP
+.SH "AUTHOR"
+.PP
+The original Samba software and related utilities were created by
+Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open
+Source project\&.
+.PP
+\fBsmbcacls\fP was written by Andrew Tridgell and Tim Potter\&.