Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Resetting the Administrator Password using CLI

date_range 24-Feb-21
Warning:

To reset the administrator password using CLI, you must have physical access to the appliance. You cannot reset the administrator password remotely.

A user with the name “recovery” can log into the appliance without a password and enter a limited amount of commands, including a command to reset the administrator password.

To recover the administrator password using CLI, do the following:

  1. When prompted to login, enter the username recovery on the appliance and press Enter.

    content_copy zoom_out_map
    user login: recovery
    *******************************************************************
    Juniper Networks Advanced Threat Prevention Appliance
    *******************************************************************
    Welcome recovery. It is now Wed Jan 01 12: 00:00 PDT 2020
    user:Core#
    exit                 help                 history                 reset-admin-password

    Since no password is required the recovery user is automatically logged into the device.

  2. Enter the reset-admin-password command to reset the password.

    content_copy zoom_out_map
    user:Core# reset-admin-password

    The other commands available to the recovery user are: exit, help, and history.

In addition to viewing UI users in the audit logs, you can also view admin and recovery-admin CLI users in the audit logs, under Reports in the Web UI. See the Operator’s Guide for details.

footer-navigation