Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-02 Rev A
July 2011
36
NAS Configuration CLI Commands
Delete All Workgroup Users
syscli --deleteall user [--sure]
This CLI command allows the admin user to delete all existing workgroup users.
This command only works if the system is joined to a workgroup. If the
--sure
option is specified, no confirmation prompt will be displayed.
Share Administrators
When the server is joined to a Windows Active Directory domain, domain users
are allowed to access CIFS shares but the CLI shall not provide the capabilities to
manage them. To manage them the Windows domain admin, not necessarily
the CLI admin, has to log in to the Windows server and use the Microsoft
Management Console (MMC). The CLI merely provides a limited capability to
grant share administrator privileges to certain domain users. A share
administrator is a domain user or domain group that is granted the privilege of
setting share permissions.
The following Share Administrators control commands are available:
•
•
•
•
Delete All Share Administrators
List Share Administrators
syscli --list shareadmin
This CLI command allows the admin user to display a list of share administrators
if the system is joined to an Active Directory domain.
An example output of administrators when the system is joined to a Windows
domain is shown below.
Total
count
=
1
username
1
=
QUANTUM
-
SQA\Domain
Admins
Add a Share Administrator
syscli --add shareadmin --name <domain_user_or_group_name>
This CLI command allows the admin user to grant share admin privilege to an
existing domain user/group if the system is joined to a Windows Active Directory
domain. The option
--name
must be followed by the name of the domain user
or domain group usually in the form:
<domain_name>\<user_or_group_name>
If the command is typed in a shell, the backslash has to be typed twice. For
example, if the domain name is
quantum.com
and the user is
joe
, the
command to be typed a the shell prompt reads as follows:
syscli --add shareadmin --name quantum\\joe