With the increasing use of the network, everyone has a lot of account password. It is very fortunate that those applications on the web such as http://www.aliyun.com/zixun/aggregation/1560.html ">FACEBOOK,GMAIL,QQ" will have a "forgotten password" option to help you recover the forgotten password. But what if your operating system password is forgotten? You can not hesitate to say this kind of thing is impossible, but the general is not afraid of 10,000 afraid of the case.
Let's just assume that you're pretending to be Ubuntu. Just enter a string of character passwords and then forget to start, or a long time did not boot the user password to forget or other reasons. The first thing you can think of is to take dozens of minutes to reload the system. But it takes time and it loses a lot of the original data. But is it convenient to have a way to change your forgotten password in a simple 5 step when your computer starts?
1. Turn on the computer, and press ESC immediately when the presses ESC to enter GRUB message appears.
2. Then there are three options, and you select "Recovery mode" to press ENTER (as shown in Figure 1).
Figure 1 Choosing "Recovery Mode" when entering settings
3. Your computer will start into the shell, when the command prompt to enter the "passwd username" Here is the username is your username, if you have forgotten the user name, there is no way, you can first enter "Ls/home" to view the user name, Enter the above command again.
4. You can enter your new password directly when a prompt occurs, and then confirm it again.
5. Then type "Shutdown-r now" to reboot your computer and enter with your new password.
By contrast, this simple approach is much more convenient for reloading systems.
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.