Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Operation steps of Jenkins forgetting password under Linux

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1.Jenkins installation steps:

Https://www.jb51.net/article/176615.htm

two。 Modify the password

(1) Edit the config.xml configuration file of Jenkins

Vim / var/lib/jenkins/config.xml (in the JENKINS_HOME directory, everyone has a different installation directory, so change to their own path)

(2) modify the relevant configuration

1. Enter the find command to find the location of the configuration: / useSecurity

two。 Annotate with symbols or delete the following configuration directly

True false

(3) restart Jenkins

Service jenkins restart

(4) refresh the browser and log in to Jenkins directly (no password is required to log in at this time)

(5) modify security configuration

Home page-> system Administration-> Global Security configuration-> check "enable Security"-> Save

(6) change the password

Home page-> user list-> Select a user and click to enter the details page-> Settings-> change password-> Save

(7) restart Jenkins, and you need a password to log in.

Summary

The above is the operation procedure of Jenkins forgetting password under Linux introduced by Xiaobian. I hope it will be helpful to you. If you have any questions, please leave me a message, and the editor will reply to you in time. Thank you very much for your support to the website!

If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report