Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
579 views
in Technique[技术] by (71.8m points)

jenkins installation windows 10 "Service Logon Credentials"

I don't know Jenkins at all. I want to install Jenkins on Windows 10. I downloaded the installer and ran it, but I have a problem. I don't know what to enter in the "Account" and "Password" fields on the "Service Logon Credentials" stage.

Screen  of where I got stuck - Service Logon Credentials

if I use the username and password of my Windows account(with administrator privileges) the following information is displayed:

Test Credentials information

question from:https://stackoverflow.com/questions/63410442/jenkins-installation-windows-10-service-logon-credentials

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

When installing a service to run under a domain user account, the account must have the right to logon as a service. This logon permission applies strictly to the local computer and must be granted in the Local Security Policy. Perform the following to edit the Local Security Policy of the computer you want to define the ‘logon as a service’ permission:

  1. Logon to the computer with administrative privileges.
  2. Open the ‘Administrative Tools’ and open the ‘Local Security Policy’
  3. Expand ‘Local Policy’ and click on ‘User Rights Assignment’
  4. In the right pane, right-click ‘Log on as a service’ and select properties.
  5. Click on the ‘Add User or Group…’ button to add the new user.
  6. In the ‘Select Users or Groups’ dialogue, find the user you wish to enter and click ‘OK’
  7. Click ‘OK’ in the ‘Log on as a service Properties’ to save changes.

Then try again with the added user.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...