This section describes the administrator login methods and permission control mechanism.
The Table 1 shows administrator login methods.
Login Method |
Application Scenario |
Interface |
Description |
|
|---|---|---|---|---|
Web (HTTPS) |
An administrator performs operations on a device through the web page, which is more intuitive than the CLI. |
Any Ethernet port reachable to the login PC and device works. You are advised to select management interface (MEth 0/0/0 or GigabitEthernet 0/0/0) for login. |
You must set an administrator and password upon first login to the device. For details, refer to Logging In to the Web UI Using HTTPS. The device enables the HTTPS service by default. |
|
CLI |
Console |
Console is the basis of other CLI login methods. Only one administrator can operate at the same time. Console is used in the following scenarios:
|
Console port |
You must set a login password upon first login to the device though the console port. For details, refer to Logging In to the CLI Through the Console Port. |
Telnet |
This method applies to remote management and maintenance. Multiple administrators can operate at the same time. |
Any Ethernet port reachable to the login PC and device works. You are advised to select management interface (MEth 0/0/0 or GigabitEthernet 0/0/0) for login. |
Direct login is not enabled by default. You must configure the Telnet service. For details, refer to CLI: Example for Logging In to the CLI Using Telnet (Local Authentication) or CLI: Example for Logging In to the CLI Using Telnet (RADIUS Authentication). NOTICE:
During Telnet login, data and passwords are transmitted in plaintext mode, causing security risks. To secure data transmission, use STelnet instead. |
|
STelnet |
STelnet supports identity authentication and encrypted data transmission and is more secure than Telnet. |
Direct login is not enabled by default. You must configure the SSH service and users. For details, refer to CLI: Example for Logging In to the CLI Using STelnet (Local Authentication) or CLI: Example for Logging In to the CLI Using STelnet (RSA Authentication). |
||
API |
The administrator can call the FW's northbound API through the NETCONF or RESTCONF client for communication between the client and FW. |
- |
By default, the NETCONF or RESTCONF client cannot directly call the FW's northbound API. To do so, certain configuration is required. |
|
The FW controls administrator permissions based on administrator roles, including the configurable menus on the web UI for web administrators and the executable commands on the CLI for CLI administrators. By default, the FW provides the administrator roles listed in Table 2. Each role has corresponding permissions, and the permissions determine the operations that administrators are allowed to perform. When you create an administrator, you can grant the default role to the administrator or custom-make a role on the FW.
Default Role |
Description |
|---|---|
system-admin |
Has all permissions except the audit function. |
device-admin |
Has service configuration and device monitoring permissions. |
device-admin (monitor) |
Has the device monitoring permission. |
audit-admin |
The audit administrator has the permission to obtain the antivirus and IPS attack evidence collection data package, configure audit policies, view audit logs, and view and export all logs (excluding sandbox detection logs). Only the audit administrator has the permission to obtain the antivirus and IPS attack evidence collection data package, configure audit policies, and view audit logs. |
The FW classifies roles based on permissions on web configuration items. The FW assigns a role read-write permission, read-only permission, or none permission on a web configuration item.
Except the role, each administrator has a level. In common cases, levels are configured only for CLI administrators. The FW provides the following default level-role mappings for the administrators that have levels configured but not bound to any role:
That is to say, level-2 administrators have the operation permission of configuration administrators.
On the FW, the role is the only factor that determines administrator permissions, especially for CLI administrators. The level alone cannot determine the commands that can be executed by a CLI administrator. For example, the default level of A feature commands is level-2, and the level-2 administrator corresponds to the configuration administrator role. If the configuration administrator does not have permission on feature A, the level-2 administrator cannot execute the commands of feature A.
Level-0 administrators do not have any default role. They can run related network diagnostic tool commands (such as ping) and commands used to access other devices (such as Telnet).
Note the following when you use roles to control administrator permissions:
For CLI administrators using passwords for authentication, their permissions are determined by the configurations on the administrator page.
The FW authenticates an administrator account in one of the following modes before allowing the administrator to log in:
Local authentication
Both the administrator account and password are stored on the FW.
Server authentication:
Server and local authentication
The FW performs server authentication first. The FW performs local authentication only if it fails to connect to the authentication server.
After the administrator account is created, the virtual system or authentication domain of a user name must be obtained to log in to the device. For example, user username on virtual system vsys with domain (domainname) authentication uses user name username@domainname@@vsys to log in to and manage the FW.
Login using the admin account:
Check whether the FW has the admin account. If yes, use the authentication scheme, authorization scheme, and third-party server template bound to the admin account. If no, use the authentication scheme, authorization scheme, or third-party server template bound to the default authentication domain.
By default, the local administrator is bound to the default authentication scheme and default authorization scheme. The authentication domain (the default domain or a new authentication domain) is bound to the default authentication scheme and default authorization scheme.
Login using the admin@test account:
The FW directly uses the authentication scheme, authorization scheme, or third-party server template bound to the test authentication domain.
By default, the authentication domain (the default domain or a new authentication domain) is bound to the default authentication scheme and default authorization scheme.
To secure FW, you are advised to follow the minimum authorization principle and plan administrator accounts with different permissions to avoid administrator account sharing. If default roles cannot meet requirements, you can create new administrator roles.
You are advised to change the password immediately after the login.