Created
December 12, 2010 21:39
-
-
Save mikeclarke/738357 to your computer and use it in GitHub Desktop.
Initial user setup on a CentOS box
This file contains 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 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