IIRC the root user is disabled by default on Mac OS X, you can enable it if you set a password for it(https://support.apple.com/en-us/HT204012), but I think that it is better to enter as a regular user and use sudo for those operation that you need root access.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/Kqy1yw5h47c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2960e628-257b-4607-850d-6d773546cd6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
echo password | sudo command
You can inject the password in your job from a credential in Jenkins
echo 'password' | sudo -S command