Skip to main content

2026 年 7 月 20 日

Recover the Admin using the adminreset Command

Use this command to reset the admin access settings to defaults and restart the admin service. This command allows you to recover the Unified Access Gateway admin portal when the portal cannot be accessed due to misconfiguration of settings like TLS ciphers, admin SAML Authentication.

This command resets the following admin access settings to defaults.

  • TLS settings - ciphers, protocol, signature schemes, and named groups.
  • TLS Certificate - admin TLS certificate is replaced with a new self-signed certificate.
  • SAML login for the admin - if this setting is configured, deactivates the admin SAML login and reverts to password login.

Procedure

  1. Log in to Unified Access Gateway console with configured user (usually root).

  2. Enter the following command to reset the admin access settings.

    adminreset
    

    Note: If a non-root administrator is configured for Unified Access GatewayOS login, run the command with sudo. For example, sudo adminreset.

  3. Enter y to confirm.

    Note: Alternatively, use the adminreset -f command to forcefully reset all admin access settings, without prompting for confirmation.

Results

The admin reset is completed successfully.

Note: You can set the admin password using adminpwd command. See Reset the Admin Password using the Unified Access Gateway Console.

此页面对您有帮助吗?

对本主题提供反馈

本主题对您有帮助吗?

请勿填写任何个人信息或机密信息。

正在生成链接…