CLI Reference Guide Basic Configuration Management
Global configuration mode.
This command is used to establish local user database for the purpose of authentication.
If the type of encryption is specified as 7, the length of the entered legal cipher text
should be even.
In general, it is not necessary to specify the type of encryption as 7. Commonly, it is
necessary to specify the type of encryption as 7 only when the encrypted password
is copied and pasted.
The example below configures a username and password and bind the user to level 15.
Ruijie(config)# username test privilege 15 password 0 pw15
Enable local authentication
username permission
Use the username permission command in the global configuration mode to configure operation
permissions of specified files for local users.
username name permission oper-mode filename
no username name permission oper-mode filename
It specifies the user name.
It specifies the operation permission.
It specifies the file name or catalogue name.
Global configuration mode
This command is used to specify permissions to specified files for users.
Example 1 allows the user test to read and write all files and catalogs:
Ruijie(config)# username test permission rw /