If an administrator user forgets the password to the Web user interface, the account becomes unreachable.

If Log Insight has only one Admin user and the Admin user forgets the password, the application cannot be administered. If an Admin user is the only user of Log Insight, the whole Web user interface becomes inaccessible.

Log Insight does not provide a user interface for Admin users to reset their own passwords, if the user does not remember their current password.

Note

Admin users who are able to log in can reset the password of other Admin users. Reset the Admin user password only when all Admin user accounts' passwords are unknown.

1

Change the directory to /usr/lib/loginsight/application/lib/pgsql/bin

2

To copy the Admin user Salt, run the following command.

SALT=`./psql -A -t -d logdb -U liuser -p 12543 -c "select salt from li_user where name='admin' and domain='';"`
Note

The outer quotes are inserted by using the back quote symbol that is on the same key as tilde on your keyboard. Do not use single quotes.

3

Enter the required the password for liuser. The password is liuser.

Note

Do not change this password.

4

To hash the password, run the following command.

PASS=`echo -n "vmware$SALT" | sha256sum | cut -d " " -f 1`
Note

The outer quotes are inserted by using the back quote symbol that is on the same key as tilde on your keyboard. Do not use single quotes.

5

To update the admin user record, run the following command.

./psql -d logdb -U liuser -p 12543 -c "update li_user set password='$PASS' where name='admin' and domain='';"

Log in to the Log Insight Web user interface with the following credentials

Username: admin

Password: vmware

and change the Admin user password.