| … | |
… | |
| 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-alpha-medium.xml,v 1.17 2004/10/23 11:02:06 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.18 2004/11/02 11:44:39 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | <section> |
10 | <section> |
| 11 | <title>Hardware Requirements</title> |
11 | <title>Hardware Requirements</title> |
| 12 | <subsection> |
12 | <subsection> |
| … | |
… | |
| 476 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
476 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
| 477 | In the next example, we create a user called "john". |
477 | In the next example, we create a user called "john". |
| 478 | </p> |
478 | </p> |
| 479 | |
479 | |
| 480 | <pre caption="Creating a user account"> |
480 | <pre caption="Creating a user account"> |
| 481 | # <i>useradd john</i> |
481 | # <i>useradd -m -G users john</i> |
| 482 | # <i>passwd john</i> |
482 | # <i>passwd john</i> |
| 483 | New password: <comment>(Enter john's password)</comment> |
483 | New password: <comment>(Enter john's password)</comment> |
| 484 | Re-enter password: <comment>(Re-enter john's password)</comment> |
484 | Re-enter password: <comment>(Re-enter john's password)</comment> |
| 485 | </pre> |
485 | </pre> |
| 486 | |
486 | |