jenkins 上的登录类型选择有何不同? [英] What are the differences on the logon types choices on jenkins?

查看:25
本文介绍了jenkins 上的登录类型选择有何不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我之前在某些机器上通过 .war 文件和作为 Windows 服务安装的网页安装了 jenkins.

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

现在我试图通过 .msi 文件将它安装在另一台机器上,但我遇到了一个问题,在安装步骤中有一个步骤会询问我登录类型".这给了我 2 个选择,就像在图像上看到的那样.我不知道它们之间的区别,而且它只让我选择将服务作为本地系统运行(不推荐)并在 windows/system32 文件夹上安装 jenkins.我一直在寻找教程,但似乎他们都跳过了这一步.我也在这里搜索但没有成功.有谁知道其中的区别以及如何使用推荐的?我试图输入我的 windows 和 jenkins 凭据,但什么也没输入.在此窗口中要输入什么用户名和密码?

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?

提前致谢!

推荐答案

我建议阅读 旧安装文档新的安装程序更新,实际在Windows上安装 doc,以及 MS Doc使用 LocalSystem 帐户作为服务登录帐户、S/O解释'Local System'账户和'Network Service'账户的区别?和S/O 解释 为什么在 Windows 上将服务作为本地系统运行是不好的?.

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?.

简而言之,您想创建一个特定的服务帐户来运行 Jenkins,因为它比以高特权 LocalSystem 运行更安全 - Win 相当于 root.该帐户必须具有 LogonAsService 权限.

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.

请参阅 MS 文档 启用服务登录作为服务登录

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

此外,新安装程序确实是新的,.. 我提出了 JENKINS-63477 以改进文档.

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

这篇关于jenkins 上的登录类型选择有何不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆