Skip to content

Instantly share code, notes, and snippets.

@mikeclarke
Created December 12, 2010 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeclarke/738357 to your computer and use it in GitHub Desktop.
Save mikeclarke/738357 to your computer and use it in GitHub Desktop.
Initial user setup on a CentOS box
# Create a new user (CentOS will create /home/admin as well)
adduser admin
# Assign the user a new password
passwd admin
# Add the user to the "wheel" group
usermod -a -G wheel admin
# Edit the /etc/sudoer file (requires knowledge of vi)
visudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment