{"id":6206,"date":"2016-02-15T16:54:48","date_gmt":"2016-02-15T15:54:48","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/hayek\/jochen\/wp\/blog-en\/?p=6206"},"modified":"2016-02-15T16:54:48","modified_gmt":"2016-02-15T15:54:48","slug":"jenkins-ci-my-account-password-did-not-work-any-more-but-i-found-a-way-to-fix-it","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2016\/02\/15\/jenkins-ci-my-account-password-did-not-work-any-more-but-i-found-a-way-to-fix-it\/","title":{"rendered":"Jenkins CI: my account password did not work any more, but I found a way to fix it"},"content":{"rendered":"<ul>\n<li>Q: how to solve this? A: mostly by taking notes<\/li>\n<li>Q: which security model do I use? A: &#8220;<em>Role-Based Strategy<\/em>&#8220;<\/li>\n<\/ul>\n<p>general approach:<\/p>\n<ul>\n<li>fix a few bits within config.xml and another few bits within your Jenkins web GUI<\/li>\n<li>for editing config.xml stop your Jenkins of course<\/li>\n<li>create a new (privileged) user account, and change your main account&#8217;s password through this new privileged user account<\/li>\n<\/ul>\n<p>now in detail:<\/p>\n<ul>\n<li>stop your Jenkins<\/li>\n<li>within $JENKINS_HOME\/config.xml change a few values for the time being:<\/li>\n<li>toggle <code>&lt;useSecurity&gt;<span style=\"text-decoration: underline\">true<\/span>&lt;\/useSecurity&gt;<\/code> to <code>&lt;useSecurity&gt;<span style=\"text-decoration: underline\">false<\/span>&lt;\/useSecurity&gt;<\/code><\/li>\n<li>toggle\u00a0\u00a0<code>&lt;disableSignup&gt;<span style=\"text-decoration: underline\">true<\/span>&lt;\/disableSignup&gt;<\/code> to <code>&lt;disableSignup&gt;<span style=\"text-decoration: underline\">false<\/span>&lt;\/disableSignup&gt;<\/code><\/li>\n<li>start your Jenkins again<\/li>\n<li>sign up a new user account (next time your main account is in trouble, use this one!)<\/li>\n<li>stop your Jenkins again<\/li>\n<li>add another\u00a0<code>&lt;sid&gt;...&lt;\/sid&gt;<\/code> entry for your new user account<\/li>\n<li>&#8230;<\/li>\n<li>toggle your security entries shown above back to their original values<\/li>\n<li>start your Jenkins again<\/li>\n<li>change the troubled account&#8217;s password Jenkins-wise<\/li>\n<li>everything should be fine again<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Q: how to solve this? A: mostly by taking notes Q: which security model do I use? A: &#8220;Role-Based Strategy&#8220; general approach: fix a few bits within config.xml and another few bits within your Jenkins web GUI for editing config.xml stop your Jenkins of course create a new (privileged) user account, and change your main [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[666],"tags":[900],"class_list":["post-6206","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-authentication"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-1C6","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/6206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=6206"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/6206\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=6206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=6206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=6206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}