If the newly installed Linux operating system does not have a password for user root, you need to set a password for user root

The ubTUN system does not activate user root by default. You need to manually run the following command on the CLI or in the terminal: sudo passwd or sudo passwd root Password: Your current password Enter new UNIX password: this is the password of root Retype new UNIX password: Repeat the password of root and a success message will be displayed.

Run the su root command to switch to user root

Enter the password you just set

Command to create a user

sudo useradd lijiangwei
sudo passwd 456
Copy the code