Ignore:
Timestamp:
Jul 1, 2006, 12:53:33 PM (13 years ago)
Author:
Jim Gifford <clfs@…>
Children:
eadc8f9
Parents:
9cb6b64
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • final-preps/addinguser.xml

    r9cb6b64 r8018c66  
    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
Note: See TracChangeset for help on using the changeset viewer.