Junos Space Password Recovery

There are three username/password pair that you may work with in Junos Space application:

  • admin user used for CLI login to Linux (default password during installation: abc123)
  • super user used for WEBUI (default initial password: juniper123)
  • maintenance user used for maintenance operations and password of which is set by the administrator (i.e there is no default password)

How to change junos space passwords:

1) To change the admin password you can use the CLI menu 1

Welcome to the Junos Space network settings utility.

Initializing, please wait

Junos Space Settings Menu

1> Change Password
2> Set DNS Servers
3> Change Time Options
4> Retrieve Logs
5> Security
6> (Debug) run shell

Q> Quit
R> Redraw Menu

Choice [1-6,QR]:

2) If you want to change the super user password, you should use the upper right menu “user preferences” in the main window.

However if you somehow don’t remember the password, you can reset the password in CLI via the following mysql command;

#mysql -u root build_db -e "UPDATE USER set password='ok89Nva6qHxytSHsP8AeLg==' where name='super'"

This should reset the password to “juniper123”. You may need to wait for the change to take effect a couple of minutes.

3) If you want to change the password for the user “maintenance” then you can run the command:

#htpasswd /var/www/maintenance/maintPW maintenance

About: rtoodtoo

Worked for more than 10 years as a Network/Support Engineer and also interested in Python, Linux, Security and SD-WAN, currently living in the Netherlands and works as a Network Support Engineer. // JNCIE-SEC #223 / RHCE / PCNSE


5 thoughts on “Junos Space Password Recovery”

  1. Will you be doing more Junos Space related work any time soon? The new Security Director and Network Director are really nice, but the Junos Space virtual appliance is not free of issues. Would be nice to share some experiences.

    1. I am planning a Security Design post but couldn’t get round to it yet. Hopefully will do one soon.

  2. Hi
    I’ve lost the password for the juniper space and needed to reset. Unable to log into the gui as it says in maintenence mode and asks to wait but there’s no way to exit. Can you tell me if it’s possible to reset password somehow?

You have a feedback?

This site uses Akismet to reduce spam. Learn how your comment data is processed.