33
Examples
# Configure the expiration time of user
abc
to be 12:10:20 on May 31, 2011.
<Sysname> system-view
[Sysname] local-user abc
[Sysname-luser-abc] expiration-date 12:10:20-2011/05/31
group
Syntax
group
group-name
undo group
View
Local user view
Default level
3: Manage level
Parameters
group-name
: User group name, a case-insensitive string of 1 to 32 characters.
Description
Use the
group
command to assign a local user to a user group.
Use the
undo group
command to restore the default.
By default, a local user belongs to the system default user group
system
.
Examples
# Assign local user 111 to user group
abc
.
<Sysname> system-view
[Sysname] local-user 111
[Sysname-luser-111] group abc
local-user
Syntax
local-user
user-name
undo local-user
{
user-name
|
all
[
service-type
{
ftp
|
lan-access
|
portal
|
ssh
|
telnet
|
terminal
|
web
} ] }
View
System view
Default level
3: Manage level
Parameters
user-name
: Name for the local user, a case-sensitive string of 1 to 55 characters that does not contain the
domain name. It cannot contain any backward slash (\), forward slash (/), vertical line (|), colon (:),