Changeset 95112ed


Ignore:
Timestamp:
Jul 1, 2006, 12:53:33 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
f80f888
Parents:
07114c98
Message:

r4212@server: jim | 2006-07-01 12:53:13 -0700
Last update to convert from LFS to CLFS

Location:
BOOK
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-preps/addinguser.xml

    r07114c98 r95112ed  
    99  <?dbhtml filename="addinguser.html"?>
    1010
    11   <title>Adding the LFS User</title>
     11  <title>Adding the CLFS User</title>
    1212
    1313  <para>When logged in as user <systemitem class="username">root</systemitem>,
     
    1616  You could use your own user name, but to make it easier to set up a clean
    1717  work environment, create a new user called <systemitem
    18   class="username">lfs</systemitem> as a member of a new group (also named
    19   <systemitem class="groupname">lfs</systemitem>) and use this user during
     18  class="username">clfs</systemitem> as a member of a new group (also named
     19  <systemitem class="groupname">clfs</systemitem>) and use this user during
    2020  the installation process. As <systemitem class="username">root</systemitem>,
    2121  issue the following commands to add the new user:</para>
    2222
    23 <screen><userinput>groupadd lfs
    24 useradd -s /bin/bash -g lfs -m -k /dev/null lfs</userinput></screen>
     23<screen><userinput>groupadd clfs
     24useradd -s /bin/bash -g clfs -m -k /dev/null clfs</userinput></screen>
    2525
    2626  <variablelist>
     
    3131      <listitem>
    3232        <para>This makes <command>bash</command> the default shell for
    33         user <systemitem class="username">lfs</systemitem>.</para>
     33        user <systemitem class="username">clfs</systemitem>.</para>
    3434      </listitem>
    3535    </varlistentry>
    3636
    3737    <varlistentry>
    38       <term><parameter>-g lfs</parameter></term>
     38      <term><parameter>-g clfs</parameter></term>
    3939      <listitem>
    40         <para>This option adds user <systemitem class="username">lfs</systemitem>
    41         to group <systemitem class="groupname">lfs</systemitem>.</para>
     40        <para>This option adds user <systemitem class="username">clfs</systemitem>
     41        to group <systemitem class="groupname">clfs</systemitem>.</para>
    4242      </listitem>
    4343    </varlistentry>
     
    4747      <listitem>
    4848        <para>This creates a home directory for <systemitem
    49         class="username">lfs</systemitem>.</para>
     49        class="username">clfs</systemitem>.</para>
    5050      </listitem>
    5151    </varlistentry>
     
    6161
    6262    <varlistentry>
    63       <term><parameter>lfs</parameter></term>
     63      <term><parameter>clfs</parameter></term>
    6464      <listitem>
    6565        <para>This is the actual name for the created group and user.</para>
     
    6969  </variablelist>
    7070
    71   <para>To log in as <systemitem class="username">lfs</systemitem> (as
    72   opposed to switching to user <systemitem class="username">lfs</systemitem>
     71  <para>To log in as <systemitem class="username">clfs</systemitem> (as
     72  opposed to switching to user <systemitem class="username">clfs</systemitem>
    7373  when logged in as <systemitem class="username">root</systemitem>, which
    74   does not require the <systemitem class="username">lfs</systemitem> user
    75   to have a password), give <systemitem class="username">lfs</systemitem>
     74  does not require the <systemitem class="username">clfs</systemitem> user
     75  to have a password), give <systemitem class="username">clfs</systemitem>
    7676  a password:</para>
    7777
    78 <screen><userinput>passwd lfs</userinput></screen>
     78<screen><userinput>passwd clfs</userinput></screen>
    7979
    80   <para>Grant <systemitem class="username">lfs</systemitem> full access to
     80  <para>Grant <systemitem class="username">clfs</systemitem> full access to
    8181  <filename class="directory">$CLFS/cross-tools</filename> and
    8282  <filename class="directory">$CLFS/tools</filename> by making <systemitem
    83   class="username">lfs</systemitem> the directorys' owner:</para>
     83  class="username">clfs</systemitem> the directorys' owner:</para>
    8484
    85 <screen><userinput>chown -v lfs $CLFS/tools
    86 chown -v lfs $CLFS/cross-tools</userinput></screen>
     85<screen><userinput>chown -v clfs $CLFS/tools
     86chown -v clfs $CLFS/cross-tools</userinput></screen>
    8787
    8888  <para>If a separate working directory was created as suggested,
    89   give user <systemitem class="username">lfs</systemitem> ownership of this directory:</para>
     89  give user <systemitem class="username">clfs</systemitem> ownership of this directory:</para>
    9090
    91 <screen><userinput>chown -v lfs $CLFS/sources</userinput></screen>
     91<screen><userinput>chown -v clfs $CLFS/sources</userinput></screen>
    9292
    93   <para>Next, login as user <systemitem class="username">lfs</systemitem>.
     93  <para>Next, login as user <systemitem class="username">clfs</systemitem>.
    9494  This can be done via a virtual console, through a display manager, or
    9595  with the following substitute user command:</para>
    9696
    97 <screen><userinput>su - lfs</userinput></screen>
     97<screen><userinput>su - clfs</userinput></screen>
    9898
    9999  <para>The <quote><parameter>-</parameter></quote> instructs
  • BOOK/final-preps/settingenviron.xml

    r07114c98 r95112ed  
    1313  <para os="a">Set up a good working environment by creating two new startup
    1414  files for the <command>bash</command> shell. While logged in as user
    15   <systemitem class="username">lfs</systemitem>, issue the following
     15  <systemitem class="username">clfs</systemitem>, issue the following
    1616  command to create a new <filename>.bash_profile</filename>:</para>
    1717
     
    2020EOF</userinput></screen>
    2121
    22   <para os="c">When logged on as user <systemitem class="username">lfs</systemitem>,
     22  <para os="c">When logged on as user <systemitem class="username">clfs</systemitem>,
    2323  the initial shell is usually a <emphasis>login</emphasis> shell which
    2424  reads the <filename>/etc/profile</filename> of the host (probably
     
    4242<literal>set +h
    4343umask 022
    44 LFS=/mnt/lfs
     44CLFS=/mnt/clfs
    4545LC_ALL=POSIX
    4646PATH=/cross-tools/bin:/bin:/usr/bin
    47 export LFS LC_ALL PATH</literal>
     47export CLFS LC_ALL PATH</literal>
    4848EOF</userinput></screen>
    4949
     
    6666  mode 644 and directories with mode 755).</para>
    6767
    68   <para os="h">The <envar>LFS</envar> variable should be set to the
     68  <para os="h">The <envar>CLFS</envar> variable should be set to the
    6969  chosen mount point.</para>
    7070
  • BOOK/prologue/common/foreword.xml

    r07114c98 r95112ed  
    3535  allowed me to create compact and streamlined Linux systems which are
    3636  faster and take up less space than traditional operating systems. I
    37   called this system a Linux From Scratch system, or an LFS system for
     37  called this system a Linux From Scratch system, or an CLFS system for
    3838  short.</para>
    3939
    4040  <para>As I shared my goals and experiences with other members of the
    4141  Linux community, it became apparent that there was sustained interest
    42   in the ideas set forth in my Linux adventures. Such custom-built LFS
     42  in the ideas set forth in my Linux adventures. Such custom-built CLFS
    4343  systems serve not only to meet user specifications and requirements, but
    4444  also serve as an ideal learning opportunity for programmers and system
     
    5757  system.</para>
    5858
    59   <para>I hope you will have a great time working on your own LFS
     59  <para>I hope you will have a great time working on your own CLFS
    6060  system, and enjoy the numerous benefits of having a system that is
    6161  truly <emphasis>your own</emphasis>.</para>
  • BOOK/prologue/common/prerequisites.xml

    r07114c98 r95112ed  
    5151      <para>This is an LFS Hint written specifically for users new to Linux.
    5252      It includes a list of links to excellent sources of information on a
    53       wide range of topics. Anyone attempting to install LFS should have an
     53      wide range of topics. Anyone attempting to install CLFS should have an
    5454      understanding of many of the topics in this hint.</para>
    5555    </listitem>
  • BOOK/prologue/common/typography.xml

    r07114c98 r95112ed  
    2323  referenced.</para>
    2424
    25 <screen><computeroutput>install-info: unknown option '--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
     25<screen><computeroutput>install-info: unknown option '--dir-file=/mnt/clfs/usr/info/dir'</computeroutput></screen>
    2626
    2727  <para>This form of text (fixed-width text) shows screen output,
     
    3434  Its main purpose is to emphasize important points or items.</para>
    3535
    36   <para><ulink url="&lfs-root;"/></para>
     36  <para><ulink url="&clfs-root;"/></para>
    3737
    3838  <para>This format is used for hyperlinks, both within the CLFS
Note: See TracChangeset for help on using the changeset viewer.