| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/faq.xml,v 1.117 2010/10/03 18:47:51 nightmorph Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/faq.xml,v 1.118 2010/10/14 06:09:40 nightmorph Exp $ --> |
| 4 | |
4 | |
| 5 | <guide> |
5 | <guide> |
| 6 | <title>Gentoo Linux Frequently Asked Questions</title> |
6 | <title>Gentoo Linux Frequently Asked Questions</title> |
| 7 | <author title="Author"> |
7 | <author title="Author"> |
| 8 | <mail link="drobbins@gentoo.org">Daniel Robbins</mail> |
8 | <mail link="drobbins@gentoo.org">Daniel Robbins</mail> |
| … | |
… | |
| 45 | |
45 | |
| 46 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
46 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 47 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
47 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 48 | <license/> |
48 | <license/> |
| 49 | |
49 | |
| 50 | <version>4</version> |
50 | <version>5</version> |
| 51 | <date>2010-10-03</date> |
51 | <date>2010-10-13</date> |
| 52 | |
52 | |
| 53 | <faqindex> |
53 | <faqindex> |
| 54 | <title>Questions</title> |
54 | <title>Questions</title> |
| 55 | <section> |
55 | <section> |
| 56 | <title>Introduction</title> |
56 | <title>Introduction</title> |
| … | |
… | |
| 159 | <section id="useradd"> |
159 | <section id="useradd"> |
| 160 | <title>How do I add a normal user?</title> |
160 | <title>How do I add a normal user?</title> |
| 161 | <body> |
161 | <body> |
| 162 | |
162 | |
| 163 | <p> |
163 | <p> |
| 164 | The command <c>adduser username</c> will add a user called "username". However, |
164 | The command <c>useradd username</c> will add a user called "username". However, |
| 165 | this method does not give the user many of the rights you might want to grant |
165 | this method does not give the user many of the rights you might want to grant |
| 166 | him, so the following command is preferred: |
166 | him, so the following command is preferred: |
| 167 | </p> |
167 | </p> |
| 168 | |
168 | |
| 169 | <pre caption="Using useradd"> |
169 | <pre caption="Using useradd"> |