Skip to main content

tsmb-privilege

Controls Windows privileges, by manipulating the privileges database.

Usage: tsmb-privilege [<option>,...] <command> [<parameter>,...]

Available Options:

OptionDescription
-c <path>Specify the path to the Fusion File Share Server configuration file. (Default: /etc/tsmb.conf)
-hShow help information and exit.

tsmb-privilege grant

This subcommand is used to grant a privilege to a user.

Usage: tsmb-privilege [<option>,...] grant <privilege> <user>

Available Options:

OptionDescription
-c <path>Specify the path to the Fusion File Share Server configuration file, where the privilegedb parameter, which points to the privileges database file, is set. (Default: /etc/tsmb.conf)

<privilege> can be one of the supported privileges:

  • SeSecurityPrivilege
  • SeTakeOwnershipPrivilege
  • TsmbServerOperatorsPrivilege
  • TsmbServerShareOperatorsPrivilege
  • TsmbServerOpenOperatorsPrivilege
  • TsmbServerSessionOperatorsPrivilege

<user> can be any user known to Fusion File Share Server, including local users or domain users.

tsmb-privilege revoke

This subcommand is used to revoke a privilege from a user.

Usage: tsmb-privilege [<option>,...] revoke <privilege> <user>

Available Options:

OptionDescription
-c <path>Specify the path to the Fusion File Share Server configuration file, where the privilegedb parameter, which points to the privileges database file, is set. (Default: /etc/tsmb.conf)

<privilege> can be one of the supported privileges:

  • SeSecurityPrivilege
  • SeTakeOwnershipPrivilege
  • TsmbServerOperatorsPrivilege
  • TsmbServerShareOperatorsPrivilege
  • TsmbServerOpenOperatorsPrivilege
  • TsmbServerSessionOperatorsPrivilege

<user> can be any user known to Fusion File Share Server, including local users or domain users.

tsmb-privilege list

This subcommand is used to list all privileges granted to users.

Usage: tsmb-privilege [<option>,...] list

Available Options:

OptionDescription
-c <path>Specify the path to the Fusion File Share Server configuration file, where the privilegedb parameter, which points to the privileges database file, is set. (Default: /etc/tsmb.conf)