第一次安装Jenkins,不知道默认用户名 [英] Installing Jenkins the first time and do not know the default user name
问题描述
我尝试使用Jenkins或我的管理员用户名作为user
和password
.对于密码,我尝试使用sudo passwd jenkins
更新,所以我很好.但是,我对用户名表示怀疑.如何确认詹金斯的用户名?有人可以帮我吗?
I tried using Jenkins or my admin username as user
and password
. For password, I tried to update using sudo passwd jenkins
, so I am fine on that. However, I am skeptical about the user name. How do I confirm the username for Jenkins? Can someone pls help me?
推荐答案
在Jenkins的首次运行期间,将生成一个安全令牌,并将其打印在控制台日志中.用户名是admin
During the initial run of Jenkins a security token is generated and printed in the console log. The username is admin
令牌应该看起来像
*************************************************************
Jenkins initial setup is required. A security token is required to proceed.
Please use the following security token to proceed to installation:
41d2b60b0e4cb5bf2025d33b21cb
*************************************************************
对我来说,初始管理员密码在~/.jenkins/secrets/initialAdminPassword
For me the initial admin password was in a log at ~/.jenkins/secrets/initialAdminPassword
使用自制软件安装后.
这篇关于第一次安装Jenkins,不知道默认用户名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!