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
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.
I am planning a Security Design post but couldn’t get round to it yet. Hopefully will do one soon.
Awesome! I have tons of experience with Security Design if you ever need any help just let me know.
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?
For Junos Space 17.2+:
https://kb.juniper.net/InfoCenter/index?page=content&id=KB17582&actp=METADATA