Forgot login password in Jenkins, no login required

Forgot login password in Jenkins, no login required

If you have forgotten your Jenkins login password, modify the config.xml in your Jenkins home (e.g. D:\Jenkins).

<useSecurity>true</useSecurity>

<useSecurity>false</useSecurity>

Modify as above and restart the Jenkins service.

The login screen will no longer appear.

If you want to display the login screen again, go to “Jenkins” – “Jenkins Administration” – “Global Security Settings” and configure as follows

Since “Allow users to sign up” is checked, the login screen will look like this

The message “If you are not a member, please sign up for an account” will appear, allowing anyone to sign up for an account and log in.

With this setting, anyone can log in, so uncheck “Allow users to sign up” as shown below.

This will hide “If you are not a member, please register an account.

コメント

Discover more from 株式会社CONFRAGE ITソリューション事業部

Subscribe now to keep reading and get access to the full archive.

Continue reading

Copied title and URL