Difference between revisions of "Funtoo Linux First Steps"
| Line 20: | Line 20: | ||
After logging in again, or typing <tt>env-update; source /etc/profile</tt> in the current shell, the new system editor will now be active. | After logging in again, or typing <tt>env-update; source /etc/profile</tt> in the current shell, the new system editor will now be active. | ||
| + | |||
| + | == Create a user account == | ||
| + | |||
| + | It's a good idea to create a normal user account that you can use for general Linux tasks. Before rebooting, create a user account for everyday use. Adjust the groups in the example below to match your needs. Some of them may not exist yet on your system. Replace "<tt><user_name></tt>" with the name you're going to use for your everyday user. The "<tt>-m</tt>" option instructs <tt>useradd</tt> to create a home directory for your user. See <tt>man useradd</tt> for more info. | ||
| + | |||
| + | <console> | ||
| + | # ##i##useradd -m -g users -G audio,cdrom,video,wheel <user_name> | ||
| + | </console> | ||
| + | Don't forget to set a password for your new user: | ||
| + | <console> | ||
| + | # ##i##passwd <user_name> | ||
| + | </console> | ||
== /etc/rc.conf == | == /etc/rc.conf == | ||
<tt>/etc/rc.conf</tt> contains system settings related to the system initialization scripts. It is a good idea to set <tt>rc_logger</tt> to <tt>YES</tt>. This will instruct OpenRC to launch a logging daemon to log the entire rc process to <tt>/var/log/rc.log</tt>. | <tt>/etc/rc.conf</tt> contains system settings related to the system initialization scripts. It is a good idea to set <tt>rc_logger</tt> to <tt>YES</tt>. This will instruct OpenRC to launch a logging daemon to log the entire rc process to <tt>/var/log/rc.log</tt>. | ||
Revision as of 03:15, 10 February 2012
After booting into a new Funtoo Linux installation, you are ready to explore the full capabilities of your system. But first, you may want to perform these common steps:
Contents |
Installing an Editor
By default, Funtoo Linux has the nano and vi editors installed. nano is the default editor.
If you have a favorite editor, you can install it now:
# emerge vim
Default editor
Here is how to change the default system text editor:
# echo EDITOR=/usr/bin/vim > /etc/env.d/99editor
After logging in again, or typing env-update; source /etc/profile in the current shell, the new system editor will now be active.
Create a user account
It's a good idea to create a normal user account that you can use for general Linux tasks. Before rebooting, create a user account for everyday use. Adjust the groups in the example below to match your needs. Some of them may not exist yet on your system. Replace "<user_name>" with the name you're going to use for your everyday user. The "-m" option instructs useradd to create a home directory for your user. See man useradd for more info.
# useradd -m -g users -G audio,cdrom,video,wheel <user_name>
Don't forget to set a password for your new user:
# passwd <user_name>
/etc/rc.conf
/etc/rc.conf contains system settings related to the system initialization scripts. It is a good idea to set rc_logger to YES. This will instruct OpenRC to launch a logging daemon to log the entire rc process to /var/log/rc.log.