Enable root User

To enable a root user, perform the following steps:

  1. Log in to vCenter UI using your vCenter server IP address or FDQN.

    https://vcenter_server_ip_address_or_fqdn

  2. Click the VM for which you need to enable the root user.

    Figure 99 : Launch Web Console

  3. Click Launch Web Console to log in to the Clone-Server VM. Log in using login details other than the root credentials.

    A terminal window is displayed.

  4. Execute the following command to set a new password:

    sudo passwd root
    [sudo] password for XXXX:
    New password:
    Retype new password:
    Passwd: password updated successfully.
  5. Execute the following command to install vim, if it is not already installed:

    sudo apt install vim
  6. Execute the following command to open the config file:

    sudo vi /etc/ssh/sshd_config

    The following window is displayed.

    Figure 100 : Root User

  7. Uncomment PermitRootLogin and change the status to yes

  8. Execute the following command to restart the VM:

    sudo systemctl restart ssh
  9. Verify the VM using the root credentials.

COMPANY INFORMATION: Copyright © 2024 A10 Networks, Inc. All Rights Reserved. Legal Notice