Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33601

Setup wizard: 'skip' is not actually skip

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Similar Issues:

      Description

      During the setup wizard, Jenkins asks if I want to create an admin user or skip it. When I choose skip, it'll still create an admin user anyway.

      This is unintuitive. The expectation with the 'Skip' label is that I'm NOT creating an admin user. There are legitimate reasons to do this - for example if I'm setting up Jenkins with a real security realm like LDAP, I really do not want the admin user.

      The problem is further made worse by the fact that this default admin user has the security token as the password, which you can never recover if you haven't written it down.

      I think we are going too far here. We make it very obvious and natural for people to create an admin user, and 'Skip' is very under-emphasized already. This should be sufficient. It shouldn't get in the way of people who know what they are doing, just like we let people not install any recommended plugins.

      If we insist on forcing people to create an admin user just to install LDAP plugin & throw that user away, then I'd rather not have the "Skip" button. As a reference, Atlassian tools for example doesn't let you skip creating admin user. You always have to create one.

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment - - edited

            I got the error message after pressing the start button.

            I don't get the error message again, though... Maybe something unrelated.

            Show
            drulli Ulli Hafner added a comment - - edited I got the error message after pressing the start button. I don't get the error message again, though... Maybe something unrelated.
            Hide
            drulli Ulli Hafner added a comment -

            Then it would be good to add some more inline help texts to describe that from now on Jenkins requires at least one user. (And that this user may be a normal user that gets admin rights). BTW: Why not call it create user rather than admin user if this user could be a normal user...?

            If we enforce at least one user in Jenkins then the skip button should be removed. (And in the user administration we should ensure that at least one admin user is defined).

            Show
            drulli Ulli Hafner added a comment - Then it would be good to add some more inline help texts to describe that from now on Jenkins requires at least one user. (And that this user may be a normal user that gets admin rights). BTW: Why not call it create user rather than admin user if this user could be a normal user...? If we enforce at least one user in Jenkins then the skip button should be removed. (And in the user administration we should ensure that at least one admin user is defined).
            Hide
            kzantow Keith Zantow added a comment -

            Daniel Beck https://github.com/jenkinsci/jenkins/pull/2187 has the security setup integrated again, it skips user creation if you don't pick the HudsonPrivateSecurityRealm (e.g. opt for no security).

            Show
            kzantow Keith Zantow added a comment - Daniel Beck https://github.com/jenkinsci/jenkins/pull/2187 has the security setup integrated again, it skips user creation if you don't pick the HudsonPrivateSecurityRealm (e.g. opt for no security).
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/resources/jenkins/install/pluginSetupWizard.properties
            http://jenkins-ci.org/commit/jenkins/f2ba3b9642a1465652327fea52aa4598389b9c5a
            Log:
            Merge pull request #2213 from kzantow/JENKINS-33601-rename-skip

            [FIXED ENKINS-33601] Change 'Skip' text in setup wizard

            Compare: https://github.com/jenkinsci/jenkins/compare/dc94c2dcd2ee...f2ba3b9642a1

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/jenkins/install/pluginSetupWizard.properties http://jenkins-ci.org/commit/jenkins/f2ba3b9642a1465652327fea52aa4598389b9c5a Log: Merge pull request #2213 from kzantow/ JENKINS-33601 -rename-skip [FIXED ENKINS-33601] Change 'Skip' text in setup wizard Compare: https://github.com/jenkinsci/jenkins/compare/dc94c2dcd2ee...f2ba3b9642a1
            Hide
            danielbeck Daniel Beck added a comment -

            ENKINS

            Show
            danielbeck Daniel Beck added a comment - ENKINS

              People

              • Assignee:
                kzantow Keith Zantow
                Reporter:
                kohsuke Kohsuke Kawaguchi
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: