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--
The password is about to expire. Because of the large number of machines, it is processed by changing the password in batches.
Here are the specific steps:
1. Configure ssh to be key free
# ssh-keygen-t rsa-P''- f ~ / .ssh/id_rsa # ssh-copy-id 10.230.86.64
(since only one-way copy files are required, we can configure 63 and 64 to 91 boco users to be key-free)
two。 Test whether the key-free configuration is successful
3. Write a password file
Write all users and passwords that need to be changed into the file according to the following format, and be careful that there is no blank line in the middle.
Vi userpasswdfile.txt root:xxxxxx boco:xxxxxx security:xxxxxx
Note: the reason why the above file is written under boco users is because I have to do it in batches, and our root users cannot log in directly, so if you are a single machine or root can log in directly, just operate under root users directly. When I went to the machine today, I found the following prompts:
4. Under the root user, execute the following command to change the password
Sudo su-cp / home/boco/userpasswdfile.txt / root/ chmod 777 userpasswdfile.txt chpasswd
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.