Skip to content

Instantly share code, notes, and snippets.

@happyrobots
Created January 18, 2011 00:35
Show Gist options
  • Save happyrobots/783792 to your computer and use it in GitHub Desktop.
Save happyrobots/783792 to your computer and use it in GitHub Desktop.
sudo useradd username -G gitosis,admin -d /home/username -s /bin/bash -m
cat /etc/passwd | grep username
# this should output the home directory for username
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment