beautypg.com

Nas user / group configuration – American Megatrends MAN-STOR-ITX27-CLI User Manual

Page 25

background image

Chapter Two: Command Set

19

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

Description

add ug

-t/--type {user}
-u/--username
-i/--id
-p/--passwd
-f/--fullname
-x/--xml
For example: add –t user –u user1 –p password –f
“User 1” ug

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 .

add ug

-t/--type {group}
-g/--groupname
-i/--id
-x/--xml

Adds a group. Group name is case-
sensitive, must be alphanumeric,
and 8 -32 characters.

delete ug

-t/--type {user}
-u/--username
-x/--xml

Deletes the given user.

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

Displays the count of users / groups
of specified type.

list ug

-t/--type {user/group}
-s/--section (local/ads/nis/all)
-x/--xml
For example: list -t user -s all ug

Displays the specified list of users /
groups and their info.

get ug

-t/--type {group}
-i/--info
-g/--groupname
-x/--xml
For example: get –t group –I –g groupA ug

Displays the group info.

get ug

-t/--type {user}
-i/--info
-u/--username
-x/--xml

Displays the specified user’s info.

set ug

-t/--type { user}
-u/--username
-p/--passwd
-f/--fullname
-x/--xml

For exmaple: set -t user -u test1 -p test1 -f
test1 ug

Changes the user info to given
values for password and/or full
name.

list ug

-t/--type {group}
-g/--groupname
-x/--xml

Displays the users present in a
particular group.

delete ug

-t/--type {group}
-g/--groupname
-x/--xml

Deletes the given group.

delete ug

-t/--type {group}
-g/--groupname
-u/--username
-x/--xml
For example: cli delete –t group –g groupA –u
user1 ug

Deletes the given user from the
specified group.