/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.17 Revision 1.18
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.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>
13<title>Introduction</title> 13<title>Introduction</title>
14<body> 14<body>
15 15
16<p> 16<p>
17Before we start, we first list what hardware requirements you need to 17Before we start, we first list what hardware requirements you need to
18successfully install Gentoo on your box. This of course depends on your 18successfully install Gentoo on your box. This of course depends on your
19architecture. 19architecture.
20</p> 20</p>
21 21
22</body> 22</body>
466</p> 466</p>
467 467
468<pre caption="Changing the root password"> 468<pre caption="Changing the root password">
469# <i>passwd</i> 469# <i>passwd</i>
470New password: <comment>(Enter your new password)</comment> 470New password: <comment>(Enter your new password)</comment>
471Re-enter password: <comment>(Re-enter your password)</comment> 471Re-enter password: <comment>(Re-enter your password)</comment>
472</pre> 472</pre>
473 473
474<p> 474<p>
475To create a user account, we first enter their credentials, followed by 475To create a user account, we first enter their credentials, followed by
476its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. 476its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
477In the next example, we create a user called &quot;john&quot;. 477In the next example, we create a user called &quot;john&quot;.
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>
483New password: <comment>(Enter john's password)</comment> 483New password: <comment>(Enter john's password)</comment>
484Re-enter password: <comment>(Re-enter john's password)</comment> 484Re-enter password: <comment>(Re-enter john's password)</comment>
485</pre> 485</pre>
486 486
487<p> 487<p>
488You can change your user id from root to the newly created user by using 488You can change your user id from root to the newly created user by using
489<c>su</c>: 489<c>su</c>:
490</p> 490</p>
491 491
492<pre caption="Changing user id"> 492<pre caption="Changing user id">
493# <i>su - john</i> 493# <i>su - john</i>
494</pre> 494</pre>
495 495
496</body> 496</body>

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20