If you forget the password of the root user, you can no longer establish SSH connections or use the console of the Log Insight virtual appliance.

If you cannot establish SSH connections or use the console of the Log Insight virtual appliance, you cannot accomplish some of the administration tasks, nor can you reset the password of the admin user.

1

In the vSphere Client, restart the guest operating system of the Log Insight virtual appliance, and open the console for the virtual machine.

2

Click in the console, wait for the GRUB menu to appear and press any letter key.

Note

The GRUB prompt remains on the screen for 7 seconds before it starts the boot sequence.

3

On the GRUB menu, use the arrow keys to select SUSE Linux Enterprise Server for VMware.

4

Press the spacebar, type init=/bin/sh, and press Enter.

The kernel boots in shell mode.

5

In the shell, type passwd, press Enter, and follow the on-screen instructions to change the root password.

The password must consist of at least eight characters, and must include at least one upper case letter, one lower case letter, one digit, and one special character such as $ or &. You cannot repeat the same character more than four times.

6

In the shell, type reboot.

Once Log Insight reboots, validate that you can log in as the root user.