Created
February 1, 2018 23:59
-
-
Save Sydney-o9/a3dae5b049d182c75436d983b7fc68c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create group _selenium with gid 703 | |
sudo dscl . -create /Groups/_selenium | |
sudo dscl . -create /Groups/_selenium PrimaryGroupID 703 | |
# Make sure it now exists | |
dscacheutil -q group | grep gid | awk ‘{print $2}’ | sort -n | tail -n 1 | |
# Create the deamon user _selenium | |
sudo dscl . -create /Users/_selenium UniqueID 703 | |
sudo dscl . -create /Users/_selenium PrimaryGroupID 703 | |
sudo dscl . -create /Users/_selenium UserShell /usr/bin/false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment