Difference between revisions of "Funtoo Linux First Steps/Creating a User Account"

From Funtoo
Jump to navigation Jump to search
(Created page with "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 e...")
 
 
Line 1: Line 1:
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.
{{Subpages|Funtoo Groups}}
 
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 "{{c|<user_name>}}" with the name you're going to use for your everyday user. The "{{c|-m}}" option instructs {{c|useradd}} to create a home directory for your user. See {{c|man useradd}} for more info.


{{console|body=
{{console|body=
Line 11: Line 13:


Check [[Package:Sudo]] to enable sudo.
Check [[Package:Sudo]] to enable sudo.
Standard Funtoo Linux groups are listed below:
{{/Funtoo Groups}}

Latest revision as of 21:49, August 19, 2019

Subpages:

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.

root # useradd -m -G audio,video,cdrom,wheel,users <user_name>

Don't forget to set a password for your new user:

root # passwd <user_name>

Check Package:Sudo to enable sudo.

Standard Funtoo Linux groups are listed below:

Funtoo Groups

wheel
Users in the wheel group have the ability to use the su command to supply the root password and become root. Utilities such as sudo also often use this group.
video
This group is used by the [[Package:NVIDIA Linux Display Drivers|proprietary NVIDIA drivers to grant user access to the underlying graphics hardware.
plugdev
Users in this group are granted access to "pluggable devices". Used by bluez bluetooth stack to allow access to bluetooth devices.