Installing Jenkins the first time and do not know the default user name

后端 未结 3 1283
忘了有多久
忘了有多久 2020-12-16 00:47

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 fi

相关标签:
3条回答
  • 2020-12-16 01:26

    During the initial run of Jenkins a security token is generated and printed in the console log. The username is admin

    The token should look something like,

    *************************************************************
    
    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 admin password was in a log at ~/.jenkins/secrets/initialAdminPassword

    after installing with homebrew.

    source

    0 讨论(0)
  • 2020-12-16 01:27

    Username: admin

    For password,

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

    you will get similar to this token 2762710d8dab4c88a59fea0a2e559069

    0 讨论(0)
  • 2020-12-16 01:34

    If you pod is running in a Kubernetes cluster, just look at the running process … Your initial password will be shown…

    e.g.

    --argumentsRealm.passwd.admin=**3kJQtPDkhk** --argumentsRealm.roles.admin=admin
    
    0 讨论(0)
提交回复
热议问题