Run daemon as another user on mac os x
问题 I'm trying right now to create separate user for jenkins on Mac Os and run it with this user. I've created a new user: # Create the group sudo dscl . create /Groups/jenkins sudo dscl . create /Groups/jenkins PrimaryGroupID 300 # Create the user sudo dscl . create /Users/jenkins sudo dscl . create /Users/jenkins PrimaryGroupID 300 sudo dscl . create /Users/jenkins UniqueID 300 sudo dscl . create /Users/jenkins UserShell /bin/bash # Set the users pasword sudo dscl . passwd /Users/jenkins