What is the password for jenkins user under MACOSX?

百般思念 提交于 2019-12-21 04:05:49

问题


I'm trying to create a CI for iOS (iPhone and iPad) using TestFlight, Jenkings, GitHub, Sonar... I downloaded the macosx jenkings package/wizard. It seems it created a user for my mac. What is its password? Because I'm having problems with the keychain and I guess it is because I'm user my own user instead of jenkins profile. Kind Regards, Ricardo.


回答1:


If I remember correctly, it's not set by default (empty).

Read this article (how to change password in OS X from command line): http://osxdaily.com/2011/09/19/change-password-mac-os-x-10-7-lion-without-knowing-current-password/




回答2:


I always use sudo su jenkins - to work as the Jenkins user on the command line, this should also work on a Mac. Then you don't need the password at all.

I don't have my MacBook with me to tests this now, but on my current linux server the jenkins user was created with shell /bin/false. I changed the shell in /etc/passwd to /bin/bash, after that I could login with su as the Jenkins user to setup ssh-keys, etc...




回答3:


No password is set by default for user jenkins. You need to set it up by executing sudo passwd jenkins




回答4:


cat /Users/[username]/.jenkins/secrets/initialAdminPassword



回答5:


You can find the initial password here /Users/{username}/.jenkins/secrets/initialAdminPassword




回答6:


A Default password location is changed in the latest version of Jenkins.

sudo cat /Users/Shared/Jenkins/Home/secrets/initialAdminPassword


来源:https://stackoverflow.com/questions/13800948/what-is-the-password-for-jenkins-user-under-macosx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!