CentosROOT password modification

Source: Internet
Author: User
A typical application suitable for VPS of various centos versions to change the root password for a single user mode is the "Password setting" of the root user ". For some Linux systems for temporary or experimental purposes, users are often changed, while the root user's password may be lost. in this case, you can change the root user's password in single-user mode. Sh-3.1 # passwdChangingpasswordforuserroot.

Suitable for changing the root password of VPS in various centos versions

A typical application of single-user mode is the "Password setting" of the root user ". For some Linux systems for temporary or experimental purposes, users are often changed, while the root user's password may be lost. in this case, you can change the root user's password in single-user mode.

sh-3.1 # passwdChanging password for user root.New UNIX password:Retype new UNIX password:passwd: all authentication tokens updated successfully.

After the system enters the single-user mode, run the passwd command at the "#" prompt to update the password of the root user, after the system restarts, you can use the updated password to log on to the system as the root user.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.