1, Ubuntu The default root password is random, that is, there is a new root password every time you boot. We can enter the command sudo passwd in the terminal, and then enter the password of the current user,
enter,
Simple Application Server USD1.00 New User Coupon
* Only 3,000 coupons available.
* Each new user can only get one coupon(except users from distributors).
* The coupon is valid for 30 days from the date of receipt.
2. The terminal will prompt us to enter a new password and confirm it. The password at this time is the new root password. After the modification is successful, enter the command su root, and then enter the new password.
3. There is no default analysis, because you have not set a password for root, the first user is in the admin group, so he can set a password for root, so
sudo passwd root
[sudo] password for you :---> Enter your password, it will not be displayed
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.