Adding a user for daily use
Working as root on a Unix/Linux system is dangerous and should be avoided as much as possible. Therefore it is strongly recommended to add a user for day-to-day use.
The groups the user is member of define what activities the user can perform. The following table lists a number of important groups:
|audio||Be able to access the audio devices.|
|cdrom||Be able to directly access optical devices.|
|floppy||Be able to directly access floppy devices.|
|games||Be able to play games.|
|portage||Be able to access portage restricted resources.|
|usb||Be able to access USB devices.|
|video||Be able to access video capturing hardware and doing hardware acceleration.|
|wheel||Be able to use su.|
For instance, to create a user called larry who is member of the wheel, users, and audio groups, log in as root first (only root can create users) and run useradd:
Password: (Enter the root password)
useradd -m -G users,wheel,audio -s /bin/bash larry
Password: (Enter the password for larry) Re-enter password: (Re-enter the password to verify)
If a user ever needs to perform some task as root, they can use su - to temporarily receive root privileges. Another way is to use the sudo package which is, if correctly configured, very secure.
With the Gentoo installation finished and the system rebooted, if everything has gone well, we can now remove the downloaded stage3 tarball from the hard disk. Remember that they were downloaded to the / directory.
Where to go from here
Where to go from here? What are the options now? What to explore first? Gentoo provides its users with lots of possibilities, and therefore lots of documented (and less documented) features.
Definitely take a look at the next part of the Gentoo Handbook entitled Working with Gentoo which explains how to keep the software up to date, how to install more software, what USE flags are, how the Gentoo init system works, etc.
Apart from the handbook, you should also feel encouraged to explore other corners of the Gentoo Wiki to find additional, community-provided documentation. The Gentoo wiki team also offers a Documentation topic overview which lists a fine selection of articles found here on the wiki. For instance, it refers to the localization guide to make a system feel more at home.
We also have several mailing lists open to all our users. Information on how to join is contained in that page.
Enjoy your installation! :)