How to set a password for the default user in Ubuntu, Debian, CentOS, and AlmaLinux
Note: This article relates to a product currently in beta testing.
This article provides step-by-step instructions for setting a password for the default user in Ubuntu, Debian, CentOS, and AlmaLinux.
Note: The article focuses solely on the process of setting a password for the default user and does not cover advanced user privilege configurations.
Set a password for the default user
Utilise your SSH key to establish a connection with the instance by using an SSH client and the key you chose during the instance launch. Once the connection is established, you can proceed with the following steps:
-
Switch to the root user.
sudo su
- Run the following command to update the password:
passwd <default user name> Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
Replace <default user name> with the username of your instance.
You will now be able to log in using the Console tab in the xneelo Cloud dashboard.
Access the instance password
-
Access the Instance page by navigating to Compute > Instances.
- Click on the name of your instance to select it.
-
At the top of the page, select the Console tab.
- The console will be displayed, allowing you to interact with the instance.
- Click in the black console area to capture your keyboard input.