In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Description
Recently, when I was messing with jenkins, I clicked wrong when configuring user permissions. After selecting the security matrix, I did not add users, so I saved the configuration, and then I reported an error, indicating that there was no Overall/Read permission. There is another question: what if the user's password is forgotten?
I. reset user permissions
Solution:
Open the configuration file vim config.xml, which is located under the jenkins home directory. Delete the following code.
Truefalsefalse
Then restart the service
Service Jenkins restart
Log in directly and reconfigure user permissions
Two. Reset user password
The data of Jenkins proprietary users is stored in the JENKINS_HOME/users directory. Open the user folder that forgot your password and there is only one file config.xml in it.
Edit the vim config.xml to find the node, as shown in the figure:
# jbcrypt:$2a$10 $LxMm9HqAI/R4z7gL57qTouW/Mrz8uSaBpCGKvKc7K6dK.g/0yk/uq
Replace the contents of the node with the following, and note that there are no spaces before and after.
# jbcrypt:$2a$10 $LxMm9HqAI/R4z7gL57qTouW/Mrz8uSaBpCGKvKc7K6dK.g/0yk/uq
Save restart Jenkins program
Service Jenkins restart
Then log in again and enter the password 123456
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.