In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to set the boot password in Linux, which is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
1. Start the system first. My system is CentOS 6.6, as shown in the following figure:
2. Create an md5 encrypted password with the [grub-md5-crypt] command in the terminal, and copy the encrypted password, as shown in the following figure:
3. Edit the boot menu file menu.lst with the command [sudo vim / boot/grub/menu.lst], as shown in the following figure:
4. Add the following two lines of code, and note that paste the encrypted password you just copied after [password-- md5], and put it in [title... At the top of the line, [lock] must be [title... The first line below, as shown in the following figure:
5. After saving and exiting, restart the system with the [sudo shutdown-r now] command, as shown in the following figure:
6. When you boot, you will be prompted for authorization, and press any key to continue, as shown in the following figure:
7. After pressing any key, enter the following interface and press the [p] key as prompted to enter the password, as shown in the following figure:
8. Enter the password and press enter to unlock the system, as shown in the following figure:
9. After entering this interface, press enter to start the system smoothly, as shown in the following figure:
10. The system is being started.
The above is how to set the boot password in Linux. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.