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

Clarify Windows Installer Service Logon Credentials

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      A number of questions have popped up on S/O regarding the choice of "Service Logon Credentials" (Step 3 of new installer).

      What are the differences on the logon types choices on Jenkins?
      jenkins installation windows 10 “Service Logon Credentials”

      The blog post says;

      The installer now allows you to specify the username/password for the account to run as and checks that the account has LogonAsService rights.

      But the installer window just says:

      Enter service credentials for the service.
      Jenkins 2.150.1 installs and runs as an independent Windows service, To operate in this manner, you must supply the user account credentials for Jenkins 2, 150.1 to run successfully.

      I would suggest some greater clarity within the installer dialog (ie: mention LogonAsService (and how to check/set) ), on the Docs Installing Windows page and if possible, update the blog announcement / post itself.

      Also, consider setting the default option to NOT be the discouraged LocalSystem (Using the LocalSystem Account as a Service Logon Account, Why running a service as Local System is bad on windows ), rather encourage user to set up a proper service account (w/ link to steps).
         

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          Thank you for the feedback, I'll see how I can make things more clear in these regards

          Show
          slide_o_mix Alex Earl added a comment - Thank you for the feedback, I'll see how I can make things more clear in these regards
          Hide
          slide_o_mix Alex Earl added a comment -

          For your last item "consider setting the default option to NOT be the discouraged LocalSystem". This is already the case, the non-recommended item is not selected by default.

          Show
          slide_o_mix Alex Earl added a comment - For your last item "consider setting the default option to NOT be the discouraged LocalSystem". This is already the case, the non-recommended item is not selected by default.
          Hide
          slide_o_mix Alex Earl added a comment -

          This is my proposed update to the account selection screen, please let me know if this would help or not.

           

          Show
          slide_o_mix Alex Earl added a comment - This is my proposed update to the account selection screen, please let me know if this would help or not.  
          Hide
          ianw Ian Williams added a comment - - edited

          I like that it mentions LogonAsService (and that Run as local / domain user is default, and I assume "2.303.1" updates w/ every release).

          So, technically it satisfies the concerns and I'd sign-off on it.

          I wonder if for the less experienced or for TroubleShooting, a link to an external reference(s) like the Jenkins book - Installation - Windows page and MS Using the LocalSystem Account as a Service Logon Account for "More Info ?" might be beneficial? ps: the Git installer is chock full of links to added details, w/good reason.

          The link to a web page allows for out-of-band elaboration on details to questions which just don't fit in the dialog (eg: Why can't I install a service on Windows Home? I'm not a Local ADmin - what do I do now?) or added screenshots as there are now in the book, so you don't need to revisit the installer unless something really changes (like Win11 ?).

          Oh, can you put a line break after "successfully." ? not sure if supported.

          Show
          ianw Ian Williams added a comment - - edited I like that it mentions LogonAsService (and that Run as local / domain user is default, and I assume "2.303.1" updates w/ every release). So, technically it satisfies the concerns and I'd sign-off on it. I wonder if for the less experienced or for TroubleShooting, a link to an external reference(s) like the Jenkins book - Installation - Windows page and MS Using the LocalSystem Account as a Service Logon Account for "More Info ?" might be beneficial? ps: the Git installer is chock full of links to added details, w/good reason. The link to a web page allows for out-of-band elaboration on details to questions which just don't fit in the dialog (eg: Why can't I install a service on Windows Home? I'm not a Local ADmin - what do I do now?) or added screenshots as there are now in the book, so you don't need to revisit the installer unless something really changes (like Win11 ?). Oh, can you put a line break after "successfully." ? not sure if supported.
          Hide
          slide_o_mix Alex Earl added a comment -

          We can do a lot of stuff if we customize all of the dialogs. I'll see how much work it would be.

           

          Adding a line break causes the text to be clipped, this would require a customization of the dialog (more than just a string resource change) to do.

          Show
          slide_o_mix Alex Earl added a comment - We can do a lot of stuff if we customize all of the dialogs. I'll see how much work it would be.   Adding a line break causes the text to be clipped, this would require a customization of the dialog (more than just a string resource change) to do.

            People

            Assignee:
            slide_o_mix Alex Earl
            Reporter:
            ianw Ian Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: