Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-09 Rev B
February 2014
NAS Configuration CLI Commands
29
•
•
List of Workgroup Users
syscli --list user [--name <username> |--namematch <pattern>]
This CLI command provides a list of workgroup users. If
--name
is specified, only
those names that match the specified name are listed. If
--namematch
is
specified, list only those names that match the specified pattern.
CLI command options:
•
--list
: Lists all workgroup users.
•
--name
: If specified, get information for the specified user name only.
•
--namematch
: If specified, only workgroup users whose names match the
specified pattern will be listed.
Add a Workgroup User
syscli --add user –name <user name> [--password <user password [--desc
<description>] [--admin]
This CLI command allows the admin user 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, the user will be granted administrative rights.
Edit a Workgroup User
syscli --edit user --name <workgroup user name> [--password
<user_password>] [--desc <description>] [--admin enabled|disabled]
This CLI command allows the admin user to modify the password, the
description, or the admin attribute of an existing workgroup user. This works
only when the system is joined to a workgroup. Note that at least one property
must be specified:
password
,
description
, or
admin
.
Delete a Workgroup User
syscli --del user --name <workgroup_user_name>
This CLI command allows the admin user 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.
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.