how to reset the Jenkins admin password if you forget the credentials?
www.coachdevop...
Let's say you have forgotten Jenkins admin password. How to set or retrieve the admin password?
Here below are the steps for resetting Jenkins admin password:
1. Edit the Jenkins config.xml
you need to disable security to Jenkins by below change
2. Find useSecurity tag and change it to useSecurity false
3. Restart Jenkins by below command:
sudo service jenkins restart
4. Access Jenkins now, click on Manage Jenkins, click on configure Global security
5. click on Enable security
6. Click on Jenkins Own user database option.
7. click on apply and save
8. Now click on Manage users, click on admin, click on configure
9. Enter new password and apply/save
Негізгі бет How to Reset Jenkins Admin Password | Recover Jenkins Admin Password | Jenkins Password reset
No video
Пікірлер: 85