среда, 30 декабря 2020 г.

Using SubInAcl with CMD

 File:

  F : Full Control

  C : Change

  R : Read

  P : Change Permissions

  O : Take Ownership

  X : eXecute

  E : Read eXecute

  W : Write

  D : Delete

CD C:\Program Files (x86)\Windows Resource Kits\Tools\

subinacl /errorlog="c:\temp\errorlog.txt" /outputlog="c:\temp\outputlog.txt" /file "\\Server\Share" /setowner=Domain\User

subinacl /errorlog="c:\temp\errorlog.txt" /outputlog="c:\temp\outputlog.txt" /file "\\Server\Share" /grant=Domain\User=C

subinacl /errorlog="c:\temp\errorlog.txt" /outputlog="c:\temp\outputlog.txt" /subdirectories \\Server\Share\* /grant=Domain\User=C

subinacl /help /grant

subinacl /verbose=1 /file c:\temp /display

subinacl /file c:\temp /grant==Domain\User=C

subinacl /file c:\temp /deny==Domain\User=W

subinacl /subdirectories c:\temp\* /grant=Domain\User=C

subinacl /file * /replace=Domain\User1=Domain\User2

subinacl /subdirectories c:\temp\* /revoke=Domain\User

subinacl /subdirectories c:\temp\* /cleandeletedsidsfrom=Domain

subinacl /testmode /subdirectories c:\temp\* /grant=Domain\User=F

subinacl /errorlog="c:\temp\errorlog.txt" /outputlog="c:\temp\outputlog.txt" /subdirectories c:\temp\* /grant=Domain\User=C



Комментариев нет:

Отправить комментарий