问题
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