見出し画像

Appendix smbcaclsコマンド

Samba3のsmbcaclsコマンド

Samba3 smbcacls 日本語訳

[root@rocky9-samba31 ~]#
[root@rocky9-samba31 ~]# smb
smbcacls    smbcontrol  smbd        smbget      smbspool    smbta-util  smbtree
smbclient   smbcquotas  smbd.old    smbpasswd   smbstatus   smbtar
[root@rocky9-samba31 ~]# smbcacls
Usage: smbcacls [-?] [-?tV] [-?tV] [-?tVNkPeC] [-?|--help] [--usage] [-D|--delete ACL]
        [-M|--modify ACL] [-a|--add ACL] [-S|--set ACLS] [-C|--chown USERNAME]
        [-G|--chgrp GROUPNAME] [-I|--inherit STRING] [--numeric] [--sddl]
        [-t|--test-args] [-d|--debuglevel DEBUGLEVEL]
        [-s|--configfile CONFIGFILE] [-l|--log-basename LOGFILEBASE]
        [-V|--version] [--option=name=value]
        [-O|--socket-options SOCKETOPTIONS] [-n|--netbiosname NETBIOSNAME]
        [-W|--workgroup WORKGROUP] [-i|--scope SCOPE] [-U|--user USERNAME]
        [-N|--no-pass] [-k|--kerberos] [-A|--authentication-file FILE]
        [-S|--signing on|off|required] [-P|--machine-pass] [-e|--encrypt]
        [-C|--use-ccache]
        //server1/share1 filename
ACLs look like: 'ACL:user:[ALLOWED|DENIED]/flags/permissions'
[root@rocky9-samba31 ~]#

Samba4のsmbcaclsコマンド

Samba4 smbcacls 日本語訳

[root@rocky9-samba41 ~]#
[root@rocky9-samba41 ~]# smbcacls
使い方: smbcacls [-?txNPkV] [-?|--help] [--usage] [-D|--delete=ACL] [-M|--modify=ACL]
        [-a|--add=ACL] [-S|--set=ACLS] [-C|--chown=USERNAME] [-G|--chgrp=GROUPNAME]
        [-I|--inherit=文字列] [--propagate-inheritance] [--numeric] [--sddl]
        [--query-security-info=INT] [--set-security-info=INT] [-t|--test-args]
        [--domain-sid=SID] [-x|--maximum-access] [-d|--debuglevel=DEBUGLEVEL]
        [--debug-stdout] [-s|--configfile=CONFIGFILE] [--option=name=value]
        [-l|--log-basename=LOGFILEBASE] [--leak-report] [--leak-report-full]
        [-R|--name-resolve=NAME-RESOLVE-ORDER] [-O|--socket-options=SOCKETOPTIONS]
        [-m|--max-protocol=MAXPROTOCOL] [-n|--netbiosname=NETBIOSNAME]
        [--netbios-scope=SCOPE] [-W|--workgroup=WORKGROUP] [--realm=REALM]
        [-U|--user=[DOMAIN/]USERNAME[%PASSWORD]] [-N|--no-pass] [--password=文字列]
        [--pw-nt-hash] [-A|--authentication-file=FILE] [-P|--machine-pass]
        [--simple-bind-dn=DN] [--use-kerberos=desired|required|off]
        [--use-krb5-ccache=CCACHE] [--use-winbind-ccache]
        [--client-protection=sign|encrypt|off] [-k|--kerberos] [-V|--version]
        //server1/share1 filename
ACLs look like: 'ACL:user:[ALLOWED|DENIED]/flags/permissions'
[root@rocky9-samba41 ~]#


この記事が気に入ったらサポートをしてみませんか?