Problem description: When Ubuntu is installed, the first time you use root, you will be prompted to enter the password. You will find that you have not set the password at all. If you want to use the root account like the traditional Unix. Solution: 1 & gt; enter sudopasswdroot on the terminal (note that passwd is not a password) so that you can use su or log on as the root user, and it will prompt you to request a password, in this case, enter your Problem description:
After Ubuntu is installed, the first time you use root, you will be prompted to enter the password. You will find that you have not set the password at all.
If you want to use the root account like the traditional Unix.
Solution:
1> enter sudo passwd root on the terminal (note that passwd is not a password) so that you can use su or log on to become root. It will prompt you to request a password, enter the password of your current account.
2> then it will prompt you to Enter new UNIX password and Rtry new UNIX password. Then you can create a new root account password. You can see that password updated successfully is successful.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.