Difference between revisions of "Creating Users"

From gr0x0rd
Jump to navigation Jump to search
Line 1: Line 1:
congratulations! you now have a working gentoo linux system.
+
== Configuring your System - Creating Users ==
before we get started on things, lets create a user account for you to work with.
 
You should never have to log into the root account ever again after this.
 
substitute <username> with your desired username.
 
  
 +
Congratulations! You now have a working Gentoo Linux system.
 +
 +
Before we do anything else, we should create a user account for you to work with. In order to keep your system secure, you should never log in as root unless you run into security problems or experience hardware failure. Substitute ''username'' below with your desired username.
 
  login: root
 
  login: root
  password: (your root password)
+
  password: ''<your root password>''
  
  useradd -m -G users,wheel,audio -s /bin/bash <username>
+
  '''#''' useradd -m -G users,wheel,audio -s /bin/bash ''username''
  passwd <username>
+
  '''#''' passwd ''username''
  Password: <enter your password here>
+
  '''#''' Password: ''<enter your password here>''
  Re-enter password: <enter your password here>
+
  '''#''' Re-enter password: ''<enter your password here>''
  
your user account should now be created. Next, we will emerge sudo,
+
Your user account has now been created. In order to run commands as root after logging into your new account, we need to [[Setting up sudo | emerge sudo]].

Revision as of 19:57, 3 December 2010

Configuring your System - Creating Users

Congratulations! You now have a working Gentoo Linux system.

Before we do anything else, we should create a user account for you to work with. In order to keep your system secure, you should never log in as root unless you run into security problems or experience hardware failure. Substitute username below with your desired username.

login: root
password: <your root password>
# useradd -m -G users,wheel,audio -s /bin/bash username
# passwd username
# Password: <enter your password here>
# Re-enter password: <enter your password here>

Your user account has now been created. In order to run commands as root after logging into your new account, we need to emerge sudo.