In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. When starting, press a key at random, space can be (cannot be Enter), let it stay in centos is about to enter the interface, move up and down,
2. Press e to enter the editing interface as follows. Change ro to "rw init=/sysroot/bin/sh". Then Ctrl+x starts
3. Enter the following commands in turn to modify the root password, and exit the forced restart after the modification is completed. chroot /sysroot/passwd touch / .autorelabel
4. exit & reboot → login with new password, problem solved
#
5. If you modify the root name (modify the/etc/passwd file, causing the administrator to be unable to log in (password error), You need to enter the bash interface from single user mode, enter/etc/passwd to modify the file back, modify the password and restart the same as above.
! [](https://s1.51cto.com/images/blog/201910/24/8d80e4831519d406929acfbd43549870.png? x-oss- process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
6, and then exit restart---exit && reboot → login with a new password, the problem solved
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.