詹金斯认证失败

时间:2018-09-16 14:03:08

标签: authentication jenkins systemctl

我一直在研究身份验证问题,但仍然没有找到答案。 我要做的作业是创建虚拟机并将 jenkins 放入其中 我遵循了本指南:https://websiteforstudents.com/install-jenkins-on-ubuntu-16-04-17-10-18-04-lts-server/ Java,Oracle 8,Jenkins,已全部安装,端口已启用,但我无法通过

  

sudo systemctl启用jenkins.service

localhost也不行(“无法到达”)。

vagrant@ubuntu-xenial:/$ sudo systemctl enable jenkins.service
jenkins.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install enable jenkins
vagrant@ubuntu-xenial:/$ systemctl enable ./lib/systemd/systemd-sysv-install
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ===
Authentication is required to manage system service or unit files.
Authenticating as: Ubuntu (ubuntu)
Password: 
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Failed to execute operation: Access denied

这就是我所拥有的,希望您能提供帮助...非常感谢!

0 个答案:

没有答案