- (Optional) Change the
root
password# Set the user root password sudo passwd root
- (Optional) Sudo without password
# Use the following command to edit the /etc/sudoers file: # - Add a line like this in this file: # username ALL=(ALL) NOPASSWD:ALL # - eg. for this OVA file: # dev ALL=(ALL) NOPASSWD:ALL sudo visudo
- Reboot the system
# Reboot the system sudo reboot now