Install Jenkins for the first time and don’t know the default username

I tried using Jenkins or my login as the name userand password. As for the password, I tried updating with sudo passwd jenkins, so I'm fine. However, I am skeptical about the username. How do I verify a username for Jenkins? Can someone please help me?

+9
source share
3 answers

The first time Jenkins starts up, a security token is generated and printed in the console log. Usernameadmin

The icon should look something like this:

*************************************************************

Jenkins initial setup is required. A security token is required to proceed.
Please use the following security token to proceed to installation:

41d2b60b0e4cb5bf2025d33b21cb

*************************************************************

For me, the initial administrator password was in the log in ~/.jenkins/secrets/initialAdminPassword

after installation using homegrown.

source

+18

Kubernetes, ... ...

--argumentsRealm.passwd.admin=**3kJQtPDkhk** --argumentsRealm.roles.admin=admin
+2

Username: admin

For password,

cat /Users/$(whoami)/.jenkins/secrets/initialAdminPassword

you will get similar to this token 2762710d8dab4c88a59fea0a2e559069

0
source

Source: https://habr.com/ru/post/1660610/


All Articles