Quantum DXi-Series Command Line Interface (CLI) Guide
6-66538-03 Rev C
November 2010
NAS CLI Configuration Commands
47
The following Workgroup Users control commands are available:
•
•
•
•
•
List of Workgroup Users
syscli --list user
This CLI command allows the CLI admin to display a list of existing workgroup
users if the system is joined to a workgroup.
An example output of users when the system is joined to a workgroup is shown
below.
Total
count
=
2
username
1
=
userone
username
2
=
usertwo
Add a Workgroup User
syscli --add user --name <user_name> --password <user_password> [--uid
<user_id>] [--gid <group_id>] [--desc <description>] [--admin]
This CLI command allows the CLI admin to add a workgroup user if the system is
joined to a workgroup. A password is required when adding a workgroup user.
If it is not passed as a command line option, the CLI will prompt the admin to
enter the password and will not echo the response for security purposes. If the
--admin
option is specified, it grants administrative rights to the user.
Edit a Workgroup User
syscli --edit user --name <user_name> [--password <user_password>]
[--desc <description>] [--admin enabled|disabled]
This CLI command allows the CLI admin to modify the password and/or the
description of an existing workgroup user. This works only when the system is
joined to a workgroup. Note that at least the password or the description must
be specified. If the
--admin
option is specified, it changes the administrative
rights of the user.
Delete a Workgroup User
syscli --del user --name <workgroup_user_name>
This CLI command allows the CLI admin to delete an existing workgroup user if
the system is joined to a workgroup. The user will no longer exist in the local
Linux user database as well as Samba password database.