Knowledge Search


×
 

How to reset the initial administrator account for SBR 5.0 or later

  [KB18191] Show Article Properties


Summary:
This article provides information on How to gain access to the Steel-Belted Radius administrator tool, when the original account that was used to install and administer SBR has been lost or the password to the account is not known.
Symptoms:
How to gain access to the Steel-Belted Radius administrator tool, when the original account that was used to install and administer SBR has been lost or the password to the account is not known.
Cause:
 
Solution:
In Steel-Belted Radius 5.0 or later it is possible to recreate the initial administrator account; so that you can regain access to the Admin GUI.

Windows:

  1. Open a command prompt and navigate to the SBR service directory:

    • The default SBR 5.x location is C:\Radius\Service.

    • The default SBR 6.x location is C:\Program Files\Juniper Networks\Steel-Belted RADIUS\Service.

  2. Issue the following commands:
    echo <username>  > initial_admin_account.dat

    net stop "steel-belted radius"
    net start "steel-belted radius"

Solaris / Linux:

  1. Login as the root user and open a command shell.

  2. Navigate to the Steel-Belted Radius directory:

    • The default SBR 5.x location is /opt/funk/radius.

    • The default SBR 6.x location is /opt/JNPRsbr/radius.

  3. Issue the following commands:
    echo <username>  > initial_admin_account.dat

    cat initial_admin_account.dat (ensure that username is in .dat file)

    ./sbrd restart

Note: The <username> should be the actual username of an admin account. You must remove the <> surrounding the name. There is a redirect '>' used in the echo or cat commands to send the output to the file.

  • The file should be read and then deleted during SBR's startup process.

  • Verify that the file has been removed.

  • Once the service has restarted, attempt to login to the Admin GUI with the same username provided in initial_admin_account.dat.
Related Links: