In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Write in the front: In the following steps, you need to enter commands in the terminal. Friends who view blogs on the computer side can copy and paste them directly to the terminal. Friends who view blogs on the mobile phone side please note that the spaces in the commands are required, otherwise there will be errors.
1. Set initial password for root
(1) Log in to the system, open the terminal, and enter the command:
sudo passwd root
(Set password for root user)
(2) Set the root password (it is recommended to be simple, it is not necessary to be so complicated);
(3) Repeat the root password;
2. Modify/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf file contents
Terminal inputs:
sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
Open the file, add the following two lines at the end of the file, save and close it after completion (note this step, do not delete the original two lines in the file);
greeter-show-manual-login=trueall-guest=false
3. Go to the/etc/pam.d folder and modify the contents of the gdm-autologin and gdm-password files (refer to the command in step 2):
gdm-autologin file comment out auth required pam_success_if.so user!= root quiet_success
gdm-password file comment out auth required pam_success_if.so user!= root quiet_success
Note: Note: Just add "#" before this line, for example:
#auth required pam_success_if.so user!= root quiet_success
4. Modify/root/.profile file
Terminal inputs:
sudo gedit /root/.profile
Open the file and replace the last line with the following:
tty -s && mesg n || true
Save and close, restart, restart after selecting "not listed" input account root and password;
The above is all the content of this article, I hope to help everyone's study, but also hope that everyone a lot of support.
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.