Warm tip: This article is reproduced from serverfault.com, please click

What are the differences on the logon types choices on jenkins?

发布于 2020-08-22 14:20:25

I have installed jenkins before on some machines from the .war file and the from the web page installed as a windows service.

Now I am trying to install it on a different machine through the .msi file, but I am having an issue, on the installation steps there is one step which asks me "Logon type" which gives me 2 choices as it can be seen on the image. I do not know the differences between them and also it only lets me choose run service as a local system(not recommended) adn this install jenkins on the windows/system32 folder. I have been loking to tutorials but it seems all of them skip this step. I have also search on here with no success. Does anyone know the difference and how to use the recommended one? I have tried to enter my windows and jenkins credentials and nothing. What user and password are to be entered on this window?

Jenkins Menu

Thanks in advance!

Questioner
Jesus Fernandez
Viewed
0
Ian W 2020-09-28 15:24:18

I suggest reading the old installation documentation, the new installer updates, the actual Install on Windows doc, as well as MS Doc Using the LocalSystem Account as a Service Logon Account, S/O explanation The difference between the 'Local System' account and the 'Network Service' account? and S/O explanation Why running a service as Local System is bad on windows?.

In short, you want to create a specific service account to run Jenkins because it's safer than running as highly privileged LocalSystem - Win equivalent of root. That account must have LogonAsService rights.

See MS docs Enable Service Logon and Log on as a service

Also, the new installer is literally new, .. I have raised JENKINS-63477 to get documentation improved.