44
Related commands
validity-date
group
Use
group
to assign a local user to a user group.
Use
undo group
to restore the default.
Syntax
group
group-name
undo group
Default
A local user belongs to the system default user group
system
.
Views
Local user view
Default command level
3: Manage level
Parameters
group-name
: User group name, a case-insensitive string of 1 to 32 characters.
Examples
# Assign local user 111 to user group
abc
.
<Sysname> system-view
[Sysname] local-user 111
[Sysname-luser-111] group abc
group-attribute allow-guest
Use
group-attribute allow-guest
to set the guest attribute for a user group.
Use
undo group-attribute allow-guest
to restore the default.
Syntax
group-attribute
allow-guest
undo group-attribute allow-guest
Default
The guest attribute is not set for a user group.
Views
User group view
Default command level
3: Manage level
Usage guidelines
The guest attribute is set for the system predefined user group
system
and you cannot remove the
attribute for the user group.