Reset admin account of vRealize Log Insight

When you lose your admin password for the webinterface but still can login by SSH with the root account you can reset your admin account with a simple command.

Steps

  1. Log in to the appliance by SSH with root account.
  2. Execute the following command to generate a new random password for the admin account.
li-reset-admin-passwd.sh [cassandra-username] [cassandra-password] 

Cassandra username and password can be found with:

grep -E "cassandra-user|cassandra-password" /usr/lib/loginsight/application/etc/loginsight-config-base.xml