| … | |
… | |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-finalise.xml,v 1.31 2004/10/02 21:53:56 cam Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-finalise.xml,v 1.32 2004/11/02 10:44:11 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | <section> |
10 | <section> |
| 11 | <title>User Administration</title> |
11 | <title>User Administration</title> |
| 12 | <subsection> |
12 | <subsection> |
| … | |
… | |
| 18 | as much as possible. Therefore it is <e>strongly</e> recommended to add a user |
18 | as much as possible. Therefore it is <e>strongly</e> recommended to add a user |
| 19 | for day-to-day use. |
19 | for day-to-day use. |
| 20 | </p> |
20 | </p> |
| 21 | |
21 | |
| 22 | <p> |
22 | <p> |
|
|
23 | The groups the user is member of define what activities the user can perform. |
|
|
24 | The following table lists a number of important groups you might wish to use: |
|
|
25 | </p> |
|
|
26 | |
|
|
27 | <table> |
|
|
28 | <tr> |
|
|
29 | <th>Group</th> |
|
|
30 | <th>Description</th> |
|
|
31 | </tr> |
|
|
32 | <tr> |
|
|
33 | <ti>audio</ti> |
|
|
34 | <ti>be able to access the audio devices</ti> |
|
|
35 | </tr> |
|
|
36 | <tr> |
|
|
37 | <ti>cdrom</ti> |
|
|
38 | <ti>be able to access cdrom devices</ti> |
|
|
39 | </tr> |
|
|
40 | <tr> |
|
|
41 | <ti>floppy</ti> |
|
|
42 | <ti>be able to access floppy devices</ti> |
|
|
43 | </tr> |
|
|
44 | <tr> |
|
|
45 | <ti>games</ti> |
|
|
46 | <ti>be able to play games</ti> |
|
|
47 | </tr> |
|
|
48 | <tr> |
|
|
49 | <ti>usb</ti> |
|
|
50 | <ti>be able to access USB devices</ti> |
|
|
51 | </tr> |
|
|
52 | <tr> |
|
|
53 | <ti>video</ti> |
|
|
54 | <ti> |
|
|
55 | be able to access video capturing hardware and doing hardware |
|
|
56 | acceleration |
|
|
57 | </ti> |
|
|
58 | </tr> |
|
|
59 | <tr> |
|
|
60 | <ti>wheel</ti> |
|
|
61 | <ti>be able to use <c>su</c></ti> |
|
|
62 | </tr> |
|
|
63 | </table> |
|
|
64 | |
|
|
65 | <p> |
| 23 | For instance, to create a user called <c>john</c> who is member of the |
66 | For instance, to create a user called <c>john</c> who is member of the |
| 24 | <c>wheel</c> group (be able to change to root using <c>su</c>), <c>users</c> |
67 | <c>wheel</c>, <c>users</c> and <c>audio</c> groups, log in as root first |
| 25 | group (default for all users) and <c>audio</c> group (be able to use audio |
68 | (only root can create users) and run <c>useradd</c>: |
| 26 | devices), log in as root first (only root can create users): |
|
|
| 27 | </p> |
69 | </p> |
| 28 | |
70 | |
| 29 | <pre caption="Adding a user for day-to-day use"> |
71 | <pre caption="Adding a user for day-to-day use"> |
| 30 | Login: <i>root</i> |
72 | Login: <i>root</i> |
| 31 | Password: <comment>(Your root password)</comment> |
73 | Password: <comment>(Your root password)</comment> |