/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-finalise.xml
Gentoo

Contents of /xml/htdocs/doc/en/handbook/hb-install-finalise.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.52 - (show annotations) (download) (as text)
Wed Jan 2 19:16:07 2013 UTC (19 months, 3 weeks ago) by swift
Branch: MAIN
CVS Tags: HEAD
Changes since 1.51: +4 -8 lines
File MIME type: application/xml
Fix bug #447726 - Various handbook updates, thanks to Francesco Turco

1 <?xml version='1.0' encoding='UTF-8'?>
2 <!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3
4 <!-- The content of this document is licensed under the CC-BY-SA license -->
5 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6
7 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-finalise.xml,v 1.51 2011/09/18 13:29:45 swift Exp $ -->
8
9 <sections>
10
11 <abstract>
12 You're almost done. We'll just create one (or more) users for your
13 system.
14 </abstract>
15
16 <version>11</version>
17 <date>2013-01-02</date>
18
19 <section>
20 <title>User Administration</title>
21 <subsection>
22 <title>Adding a User for Daily Use</title>
23 <body>
24
25 <p>
26 Working as root on a Unix/Linux system is <e>dangerous</e> and should be avoided
27 as much as possible. Therefore it is <e>strongly</e> recommended to add a user
28 for day-to-day use.
29 </p>
30
31 <p>
32 The groups the user is member of define what activities the user can perform.
33 The following table lists a number of important groups you might wish to use:
34 </p>
35
36 <table>
37 <tr>
38 <th>Group</th>
39 <th>Description</th>
40 </tr>
41 <tr>
42 <ti>audio</ti>
43 <ti>be able to access the audio devices</ti>
44 </tr>
45 <tr>
46 <ti>cdrom</ti>
47 <ti>be able to directly access optical devices</ti>
48 </tr>
49 <tr>
50 <ti>floppy</ti>
51 <ti>be able to directly access floppy devices</ti>
52 </tr>
53 <tr>
54 <ti>games</ti>
55 <ti>be able to play games</ti>
56 </tr>
57 <tr>
58 <ti>portage</ti>
59 <ti>be able to use <c>emerge --pretend</c> as a normal user</ti>
60 </tr>
61 <tr>
62 <ti>usb</ti>
63 <ti>be able to access USB devices</ti>
64 </tr>
65 <tr>
66 <ti>video</ti>
67 <ti>
68 be able to access video capturing hardware and doing hardware
69 acceleration
70 </ti>
71 </tr>
72 <tr>
73 <ti>wheel</ti>
74 <ti>be able to use <c>su</c></ti>
75 </tr>
76 </table>
77
78 <p>
79 For instance, to create a user called <c>john</c> who is member of the
80 <c>wheel</c>, <c>users</c> and <c>audio</c> groups, log in as root first
81 (only root can create users) and run <c>useradd</c>:
82 </p>
83
84 <pre caption="Adding a user for day-to-day use">
85 Login: <i>root</i>
86 Password: <comment>(Your root password)</comment>
87
88 # <i>useradd -m -G users,wheel,audio -s /bin/bash john</i>
89 # <i>passwd john</i>
90 Password: <comment>(Enter the password for john)</comment>
91 Re-enter password: <comment>(Re-enter the password to verify)</comment>
92 </pre>
93
94 <p>
95 If a user ever needs to perform some task as root, they can use <c>su -</c>
96 to temporarily receive root privileges. Another way is to use the <c>sudo</c>
97 package which is, if correctly configured, very secure.
98 </p>
99
100 </body>
101 </subsection>
102 </section>
103 <section>
104 <title>Disk Cleanup</title>
105 <subsection>
106 <title>Removing tarballs</title>
107 <body>
108
109 <p>
110 Now that you've finished installing Gentoo and rebooted, if everything has gone
111 well, you can remove the downloaded stage3 tarball from
112 your hard disk. Remember that they were downloaded to your <path>/</path>
113 directory.
114 </p>
115
116 <pre caption="Removing the stage3 tarball">
117 # <i>rm /stage3-*.tar.bz2*</i>
118 </pre>
119
120 </body>
121 </subsection>
122 </section>
123 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20