/[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.51 - (hide annotations) (download) (as text)
Sun Sep 18 13:29:45 2011 UTC (2 years, 11 months ago) by swift
Branch: MAIN
Changes since 1.50: +3 -9 lines
File MIME type: application/xml
Fix bug #383459 - remove reference to plugdev as it is not used/common anymore. Thanks to Markos Chandras for reporting and patch

1 swift 1.14 <?xml version='1.0' encoding='UTF-8'?>
2     <!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3    
4 swift 1.5 <!-- The content of this document is licensed under the CC-BY-SA license -->
5 neysx 1.44 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 swift 1.5
7 swift 1.51 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-finalise.xml,v 1.50 2008/04/01 08:53:46 nightmorph Exp $ -->
8 swift 1.7
9 swift 1.3 <sections>
10 swift 1.34
11 neysx 1.46 <abstract>
12     You're almost done. We'll just create one (or more) users for your
13     system.
14     </abstract>
15    
16 swift 1.51 <version>10</version>
17     <date>2011-09-18</date>
18 swift 1.34
19 swift 1.1 <section>
20     <title>User Administration</title>
21 swift 1.4 <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 swift 1.10 as much as possible. Therefore it is <e>strongly</e> recommended to add a user
28 swift 1.4 for day-to-day use.
29     </p>
30    
31     <p>
32 swift 1.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 neysx 1.40 <ti>be able to directly access optical devices</ti>
48 swift 1.32 </tr>
49     <tr>
50     <ti>floppy</ti>
51 swift 1.38 <ti>be able to directly access floppy devices</ti>
52 swift 1.32 </tr>
53     <tr>
54     <ti>games</ti>
55     <ti>be able to play games</ti>
56     </tr>
57     <tr>
58 neysx 1.42 <ti>portage</ti>
59     <ti>be able to use <c>emerge --pretend</c> as a normal user</ti>
60     </tr>
61     <tr>
62 swift 1.32 <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 swift 1.4 For instance, to create a user called <c>john</c> who is member of the
80 swift 1.32 <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 swift 1.4 </p>
83    
84     <pre caption="Adding a user for day-to-day use">
85 swift 1.30 Login: <i>root</i>
86     Password: <comment>(Your root password)</comment>
87    
88 swift 1.38 # <i>useradd -m -G users,wheel,audio -s /bin/bash john</i>
89 swift 1.4 # <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 swift 1.26 If a user ever needs to perform some task as root, they can use <c>su -</c>
96 swift 1.25 to temporarily receive root privileges. Another way is to use the <c>sudo</c>
97 swift 1.4 package which is, if correctly configured, very secure.
98 swift 1.1 </p>
99    
100     </body>
101 swift 1.4 </subsection>
102 swift 1.3 </section>
103 nightmorph 1.47 <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 and Portage snapshot from
112 nightmorph 1.48 your hard disk. Remember that they were downloaded to your <path>/</path>
113 nightmorph 1.47 directory.
114     </p>
115    
116     <pre caption="Removing the stage3 tarball">
117     # <i>rm /stage3-*.tar.bz2*</i>
118     </pre>
119    
120     <pre caption="Removing the Portage snapshot">
121     # <i>rm /portage-latest.tar.bz2*</i>
122     </pre>
123    
124     </body>
125     </subsection>
126     </section>
127 swift 1.3 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20