Skip to content

Reset your admin password using the CLI

You can reset your admin password using the command-line interface.


Sophos Firewall prompts you to change the default admin's password the first time you access the CLI. If you change the password, the firewall won't run the setup wizard on the web admin console.

To reset your password, do as follows:

  1. Sign in to the command-line interface (CLI) and enter 2 for System configuration.

    CLI option 2 system configuration

  2. Enter 1 for Set password for user admin.

    CLI option Set Password for User Admin

  3. Set the new password, enter the new password again, and press Enter.

    The password must meet the following requirements:

    • Minimum 10 characters
    • An uppercase letter
    • A lowercase letter
    • A number (0-9)
    • A special character

    CLI password reset options