The purpose of this article is to describe the steps and commands in order to unlock the super user account when it has become locked due to many failed password attempts.
When logging into Junos Space, a user account (e.g - Super) can be locked when a user enters the password incorrectly for up to 4-5 tries continuously.
Please follow the steps below in order to recover your user account (e.g. Super) when it has become locked.Note: This method should only be used if No other administrator account can login. If another administrator can login, the lock can be cleared from Space user administration. rt-click user, and select "unlock users"1. Login to Space CLI Database node, select Debug mode2. Use the following CLI command to unlock all locked users:
mysql build_db -u jboss -p$(grep mysql.jboss /etc/sysconfig/JunosSpace/pwd | awk -F= '{print $2}') -e "update USER_IP_ADDRESS set isLocked=0" 3. Attempt to login.
mysql build_db -u jboss -p$(grep mysql.jboss /etc/sysconfig/JunosSpace/pwd | awk -F= '{print $2}') -e "update USER_IP_ADDRESS set isLocked=0"