In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-18 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.