Nas User / Group Configuration - American Megatrends StorTrends User’s guide User Manual

Command line interface version 2.7
Table of Contents

Advertisement

NAS User / Group Configuration

These commands allow viewing and configuration of the NAS Users and groups accounts.
Note:
Known Issue: As iTX software supports enabling of ADS and NIS simultaneously, the user/group
list retrieved will be given for both instead of singly.
Command
Argument
add ug
-t/--type {user}
-u/--username <user name>
-i/--id <userid (optional)>
-p/--passwd <password(optional)>
-f/--fullname <Full name>
-x/--xml
For example: add –t user –u user1 –p password –f
"User 1" ug
add ug
-t/--type {group}
-g/--groupname <group name>
-i/--id <group id (optional)>
-x/--xml
delete ug
-t/--type {user}
-u/--username <username>
-x/--xml
get ug
-t/--type {user/group}
-s/--section {local/ads/nis/all}
-c/--count
-x/--xml
For example: get -t user -i -u test1 ug
list ug
-t/--type {user/group}
-s/--section (local/ads/nis/all)
-x/--xml
For example: list -t user -s all ug
get ug
-t/--type {group}
-i/--info
-g/--groupname <groupname>
-x/--xml
For example: get –t group –I –g groupA ug
get ug
-t/--type {user}
-i/--info
-u/--username <username>
-x/--xml
set ug
-t/--type { user}
-u/--username <username>
-p/--passwd <password>
-f/--fullname <fullname>
-x/--xml
For exmaple: set -t user -u test1 -p test1 -f
test1 ug
list ug
-t/--type {group}
-g/--groupname <groupname>
-x/--xml
delete ug
-t/--type {group}
-g/--groupname <groupname>
-x/--xml
delete ug
-t/--type {group}
-g/--groupname <groupname>
-u/--username <username>
-x/--xml
For example: cli delete –t group –g groupA –u
user1 ug
Description
Adds a user. If password is not
entered in command line, it will be
prompted for.
Username is case-sensitive, must
be alphanumeric, and 8 -32
characters .
Adds a group. Group name is case-
sensitive, must be alphanumeric,
and 8 -32 characters.
Deletes the given user.
Displays the count of users / groups
of specified type.
Displays the specified list of users /
groups and their info.
Displays the group info.
Displays the specified user's info.
Changes the user info to given
values for password and/or full
name.
Displays the users present in a
particular group.
Deletes the given group.
Deletes the given user from the
specified group.
Chapter Two: Command Set
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Stortrends itx

Table of Contents