1 / 7

How To Reset Jenkins Password

Sometimes you may need to reset Jenkins user password in Linux. Here are the steps to reset admin password in Jenkins.<br><br>Visit https://fedingo.com/how-to-reset-jenkins-admin-user-password-in-linux/

Télécharger la présentation

How To Reset Jenkins Password

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to Reset Jenkins Admin User Password in Linux

  2. Disable Jenkins Security (1 of 2) Log into Jenkins server using root or sudo privileges, and then open Jenkins configuration XML file in a text editor. # sudo vi /var/lib/jenkins/config.xml Search for useSecurity string. For this, press Esc key and enter /useSecurity. You should see the following line. <useSecurity>true</useSecurity>

  3. Disable Jenkins Security (2 of 2) Change it to <useSecurity>false</useSecurity> Save changes and exit vi editor by entering :wq. Restart Jenkins services to apply changes. # sudo systemctl restart jenkins

  4. Reset Jenkins Admin Password (1 of 2) To reset admin password, do the following steps 1. Click on People on the left-hand navigation menu. 2. Click on the Admin. 3. Delete the user account. 4. Navigate to Jenkins / Manage Jenkins.

  5. Reset Jenkins Admin Password (2 of 2) 5. Click Configure Global Security 6. Check Enable Security check box 7. Under Security Realm, select Jenkins’ own user database 8. In the Authorization section, select Logged-in users can do anything. 9. Unselect Allow anonymous read access. 10. Click Save to save your changes.

  6. Create New Jenkins Admin User After this process, you will be taken to page where new Admin user can be created. Fill in new user’s details and click Create First Admin User. You have now created new Admin user with new password.

  7. Thank You Visit for details https://fedingo.com/how-to-reset-jenkins-admin-user-password-in-linux/

More Related