Skip to content

Instantly share code, notes, and snippets.

@gjpalau
Created January 30, 2015 21:55
Show Gist options
  • Save gjpalau/ff5af73d2ae236f5c96d to your computer and use it in GitHub Desktop.
Save gjpalau/ff5af73d2ae236f5c96d to your computer and use it in GitHub Desktop.
ard commands for public setup
dscl . create /Users/Public
dscl . create /Users/Public UserShell /bin/bash
dscl . create /Users/Public RealName "Public User"
dscl . create /Users/Public UniqueID 503
dscl . create /Users/Public PrimaryGroupID 1000
dscl . create /Users/Public NFSHomeDirectory /Users/Public
dscl . passwd /Users/Public Public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment