/[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.49 - (hide annotations) (download) (as text)
Fri Feb 29 15:54:59 2008 UTC (6 years, 6 months ago) by swift
Branch: MAIN
Changes since 1.48: +2 -2 lines
File MIME type: application/xml
Simple fixes, no content change

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.49 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-finalise.xml,v 1.48 2007/05/07 18:11:40 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 nightmorph 1.48 <version>8.0</version>
17     <date>2007-05-07</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 neysx 1.43 <ti>plugdev</ti>
67     <ti>
68 swift 1.49 be able to mount and use pluggable devices such as cameras and USB sticks
69 neysx 1.43 </ti>
70     </tr>
71     <tr>
72 swift 1.32 <ti>video</ti>
73     <ti>
74     be able to access video capturing hardware and doing hardware
75     acceleration
76     </ti>
77     </tr>
78     <tr>
79     <ti>wheel</ti>
80     <ti>be able to use <c>su</c></ti>
81     </tr>
82     </table>
83    
84     <p>
85 swift 1.4 For instance, to create a user called <c>john</c> who is member of the
86 swift 1.32 <c>wheel</c>, <c>users</c> and <c>audio</c> groups, log in as root first
87     (only root can create users) and run <c>useradd</c>:
88 swift 1.4 </p>
89    
90     <pre caption="Adding a user for day-to-day use">
91 swift 1.30 Login: <i>root</i>
92     Password: <comment>(Your root password)</comment>
93    
94 swift 1.38 # <i>useradd -m -G users,wheel,audio -s /bin/bash john</i>
95 swift 1.4 # <i>passwd john</i>
96     Password: <comment>(Enter the password for john)</comment>
97     Re-enter password: <comment>(Re-enter the password to verify)</comment>
98     </pre>
99    
100     <p>
101 swift 1.26 If a user ever needs to perform some task as root, they can use <c>su -</c>
102 swift 1.25 to temporarily receive root privileges. Another way is to use the <c>sudo</c>
103 swift 1.4 package which is, if correctly configured, very secure.
104 swift 1.1 </p>
105    
106     </body>
107 swift 1.4 </subsection>
108 swift 1.3 </section>
109 nightmorph 1.47 <section>
110     <title>Disk Cleanup</title>
111     <subsection>
112     <title>Removing tarballs</title>
113     <body>
114    
115     <p>
116     Now that you've finished installing Gentoo and rebooted, if everything has gone
117     well, you can remove the downloaded stage3 tarball and Portage snapshot from
118 nightmorph 1.48 your hard disk. Remember that they were downloaded to your <path>/</path>
119 nightmorph 1.47 directory.
120     </p>
121    
122     <pre caption="Removing the stage3 tarball">
123     # <i>rm /stage3-*.tar.bz2*</i>
124     </pre>
125    
126     <pre caption="Removing the Portage snapshot">
127     # <i>rm /portage-latest.tar.bz2*</i>
128     </pre>
129    
130     </body>
131     </subsection>
132     </section>
133 swift 1.3 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20