How to change the appliance root password
To change the password on your Hyper-V or VMWare virtual appliance with your installation of OpenVPN Access Server:
- Sign in to the terminal with root privileges.
- Type
passwd
and press enter. - Enter your new password and press enter.
- Re-enter your new password and press enter.
- (optional) Type
exit
to sign out.
If you have lost access to your Hyper-V or VMWare virtual appliance for your installation of OpenVPN Access Server because you need to change the password, follow these steps:
- Reboot the server.
- Hold the shift key down and wait for the blue GRUB boot loader screen to display.
- Press “E.”
- Find the line that starts with linux and at the end of it add:
rw init=/bin/bash
- Press ctrl+X and wait for the server to boot.
- Type
passwd
and press enter. - Enter your new password and press enter.
- Re-enter your new password and press enter.
- Reboot the server.
If you are using a cloud image like on Amazon AWS, Google Cloud, Microsoft Azure, and so on, you will need to consult their documentation.