user-group
Syntax
user-group group-name
undo user-group group-name
View
System view
Default level
3: Manage level
Parameters
group-name: User group name, a case-insensitive string of 1 to 32 characters.
Description
Use user-group to create a user group and enter its view.
Use undo user-group to remove a user group.
A user group consists of a group of local users and has a set of local user attributes. You can configure
local user attributes for a user group to implement centralized management of user attributes for the local
users in the group. Configurable user attributes include password control attributes and authorization
attributes.
A user group with one or more local users cannot be removed.
The system predefined user group system cannot be removed, but you can change its configurations.
Related commands: display user-group.
Examples
# Create a user group named abc and enter its view.
<Sysname> system-view
[Sysname] user-group abc
[Sysname-ugroup-abc]
validity-date
Syntax
validity-date time
undo validity-date
View
Local user view
Default level
3: Manage level
Parameters
time:
Validity
HH:MM:SS-YYYY/MM/DD, MM/DD/YYYY-HH:MM:SS, or YYYY/MM/DD-HH:MM:SS. HH:MM:SS
indicates the time, where HH ranges from 0 to 23, and MM and SS range from 0 to 59. MM/DD/YYYY
time
of
the
local
user,
in
the
format
35
HH:MM:SS-MM/DD/YYYY,