The other day I got locked out of my admin account for the Security Center 5 from Tenable. In order to get back into the system I needed to reset the admin password. Below I show how to reset the admin password on Security Center 5. For this to work you must have elevated privileges, such as root.
Reset the admin account password
root@earth> sqlite3 /opt/sc/application.db "update userauth set password = 'bbd29bd33eb161d738536b59e37db31e' where username='admin';"
This command sets the admin password to password
Clear login failures.
root@earth> sqlite3 /opt/sc/application.db "update userauth set failedLogins='0'
where username='admin';"
Unlock the admin account
root@earth> sqlite3 /opt/sc/application.db "update userauth set locked='0' where
username='admin';"
After following these steps you will be able to login to the admin account with the password set to password. If you have any questions or comments please post them below.