| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 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.3 2004/04/15 07:06:36 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.4 2004/04/15 11:59:45 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> |
| 13 | <title>Introduction</title> |
13 | <title>Introduction</title> |
| 14 | <body> |
14 | <body> |
| 15 | |
15 | |
| 16 | <p> |
16 | <p> |
| 17 | Before we start, we first list what hardware requirements you need to |
17 | Before we start, we first list what hardware requirements you need to |
| 18 | successfully install Gentoo on your box. This of course depends on your |
18 | successfully install Gentoo on your box. This of course depends on your |
| 19 | architecture. |
19 | architecture. |
| 20 | </p> |
20 | </p> |
| 21 | |
21 | |
| 22 | </body> |
22 | </body> |
| … | |
… | |
| 434 | security reasons), you need to create the necessary user accounts and change |
434 | security reasons), you need to create the necessary user accounts and change |
| 435 | the root password. |
435 | the root password. |
| 436 | </p> |
436 | </p> |
| 437 | |
437 | |
| 438 | <p> |
438 | <p> |
| 439 | To change the root password, use the <c>passwd</c> utility: |
439 | To change the root password, use the <c>passwd</c> utility: |
| 440 | </p> |
440 | </p> |
| 441 | |
441 | |
| 442 | <pre caption="Changing the root password"> |
442 | <pre caption="Changing the root password"> |
| 443 | # <i>passwd</i> |
443 | # <i>passwd</i> |
| 444 | New password: <comment>(Enter your new password)</comment> |
444 | New password: <comment>(Enter your new password)</comment> |
| 445 | Re-enter password: <comment>(Re-enter your password)</comment> |
445 | Re-enter password: <comment>(Re-enter your password)</comment> |
| 446 | </pre> |
446 | </pre> |
| 447 | |
447 | |
| 448 | <p> |
448 | <p> |
| 449 | To create a user account, we first enter his/her credentials, followed by |
449 | To create a user account, we first enter their credentials, followed by |
| 450 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
450 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
| 451 | In the next example, we create a user called "john". |
451 | In the next example, we create a user called "john". |
| 452 | </p> |
452 | </p> |
| 453 | |
453 | |
| 454 | <pre caption="Creating a user account"> |
454 | <pre caption="Creating a user account"> |
| 455 | # <i>useradd john</i> |
455 | # <i>useradd john</i> |
| 456 | # <i>passwd john</i> |
456 | # <i>passwd john</i> |
| 457 | New password: <comment>(Enter john's password)</comment> |
457 | New password: <comment>(Enter john's password)</comment> |
| 458 | Re-enter password: <comment>(Re-enter john's password)</comment> |
458 | Re-enter password: <comment>(Re-enter john's password)</comment> |
| 459 | </pre> |
459 | </pre> |
| 460 | |
460 | |
| 461 | <p> |
461 | <p> |
| 462 | You can change your user id from root to the newly created user by using |
462 | You can change your user id from root to the newly created user by using |
| 463 | <c>su</c>: |
463 | <c>su</c>: |
| 464 | </p> |
464 | </p> |