Ignore:
Timestamp:
Jul 1, 2006, 11:52:01 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Children:
6ea30c8
Parents:
b18d234
Message:

r4227@server: jim | 2006-07-01 23:46:16 -0700
More LFS to CLFS Updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/common/pwdgroup.xml

    rb18d234 rf1fd69a  
    1212
    1313  <indexterm zone="ch-boot-pwdgroup">
    14     <primary sortas="e-${LFS}/etc/passwd">${LFS}/etc/passwd</primary>
     14    <primary sortas="e-${CLFS}/etc/passwd">${CLFS}/etc/passwd</primary>
    1515  </indexterm>
    1616
    1717  <indexterm zone="ch-boot-pwdgroup">
    18     <primary sortas="e-${LFS}/etc/group">${LFS}/etc/group</primary>
     18    <primary sortas="e-${CLFS}/etc/group">${CLFS}/etc/group</primary>
    1919  </indexterm>
    2020
    2121  <indexterm zone="ch-boot-pwdgroup">
    22     <primary sortas="e-${LFS}/var/run/utmp">${LFS}/var/run/utmp</primary>
     22    <primary sortas="e-${CLFS}/var/run/utmp">${CLFS}/var/run/utmp</primary>
    2323  </indexterm>
    2424
    2525  <indexterm zone="ch-boot-pwdgroup">
    26     <primary sortas="e-${LFS}/var/log/btmp">${LFS}/var/log/btmp</primary>
     26    <primary sortas="e-${CLFS}/var/log/btmp">${CLFS}/var/log/btmp</primary>
    2727  </indexterm>
    2828
    2929  <indexterm zone="ch-boot-pwdgroup">
    30     <primary sortas="e-${LFS}/var/log/lastlog">${LFS}/var/log/lastlog</primary>
     30    <primary sortas="e-${CLFS}/var/log/lastlog">${CLFS}/var/log/lastlog</primary>
    3131  </indexterm>
    3232
    3333  <indexterm zone="ch-boot-pwdgroup">
    34     <primary sortas="e-${LFS}/var/log/wtmp">${LFS}/var/log/wtmp</primary>
     34    <primary sortas="e-${CLFS}/var/log/wtmp">${CLFS}/var/log/wtmp</primary>
    3535  </indexterm>
    3636
    3737  <para>In order for user <systemitem class="username">root</systemitem> to
    3838  be able to login and for the name <quote>root</quote> to be recognized,
    39   there must be relevant entries in the <filename>${LFS}/etc/passwd</filename>
    40   and <filename>${LFS}/etc/group</filename> files.</para>
     39  there must be relevant entries in the <filename>${CLFS}/etc/passwd</filename>
     40  and <filename>${CLFS}/etc/group</filename> files.</para>
    4141
    42   <para>Create the <filename>${LFS}/etc/passwd</filename> file by running
     42  <para>Create the <filename>${CLFS}/etc/passwd</filename> file by running
    4343  the following command:</para>
    4444
    45 <screen><userinput>cat &gt; ${LFS}/etc/passwd &lt;&lt; "EOF"
     45<screen><userinput>cat &gt; ${CLFS}/etc/passwd &lt;&lt; "EOF"
    4646<literal>root:x:0:0:root:/root:/bin/bash</literal>
    4747EOF</userinput></screen>
     
    5151  later.</para>
    5252
    53   <variablelist os="b">
    54  
    55     <title>Additional users you may want to add:</title>
    56 
    57     <varlistentry>
    58       <term><literal>bin:x:1:1:bin:/bin:/bin/false</literal></term>
    59       <listitem>
    60         <para>To be written</para>
    61       </listitem>
    62     </varlistentry>
    63     <varlistentry>
    64       <term><literal>daemon:x:2:6:daemon:/sbin:/bin/false</literal></term>
    65       <listitem>
    66         <para>To be written</para>
    67       </listitem>
    68     </varlistentry>
    69     <varlistentry>
    70       <term><literal>adm:x:3:16:adm:/var/adm:/bin/false</literal></term>
    71       <listitem>
    72         <para>To be written</para>
    73       </listitem>
    74     </varlistentry>
    75     <varlistentry>
    76       <term><literal>lp:x:10:9:lp:/var/spool/lp:/bin/false</literal></term>
    77       <listitem>
    78         <para>To be written</para>
    79       </listitem>
    80     </varlistentry>
    81     <varlistentry>
    82       <term><literal>mail:x:30:30:mail:/var/mail:/bin/false</literal></term>
    83       <listitem>
    84         <para>To be written</para>
    85       </listitem>
    86     </varlistentry>
    87     <varlistentry>
    88       <term><literal>news:x:31:31:news:/var/spool/news:/bin/false</literal></term>
    89       <listitem>
    90         <para>To be written</para>
    91       </listitem>
    92     </varlistentry>
    93     <varlistentry>
    94       <term><literal>uucp:x:32:32:uucp:/var/spool/uucp:/bin/false</literal></term>
    95       <listitem>
    96         <para>To be written</para>
    97       </listitem>
    98     </varlistentry>
    99     <varlistentry>
    100       <term><literal>operator:x:50:0:operator:/root:/bin/bash</literal></term>
    101       <listitem>
    102         <para>To be written</para>
    103       </listitem>
    104     </varlistentry>
    105     <varlistentry>
    106       <term><literal>postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false</literal></term>
    107       <listitem>
    108         <para>To be written</para>
    109       </listitem>
    110     </varlistentry>
    111     <varlistentry>
    112       <term><literal>nobody:x:65534:65534:nobody:/:/bin/false</literal></term>
    113       <listitem>
    114         <para>To be written</para>
    115       </listitem>
    116     </varlistentry>
    117   </variablelist>
    118 
    119   <para>Create the <filename>${LFS}/etc/group</filename> file by running
     53  <para>Create the <filename>${CLFS}/etc/group</filename> file by running
    12054  the following command:</para>
    12155
    122 <screen><userinput>cat &gt; ${LFS}/etc/group &lt;&lt; "EOF"
     56<screen><userinput>cat &gt; ${CLFS}/etc/group &lt;&lt; "EOF"
    12357<literal>root:x:0:
    12458bin:x:1:
     
    217151  proper permissions:</para>
    218152
    219 <screen><userinput>touch ${LFS}/var/run/utmp ${LFS}/var/log/{btmp,lastlog,wtmp}
    220 chmod -v 664 ${LFS}/var/run/utmp ${LFS}/var/log/lastlog
    221 chmod -v 600 ${LFS}/var/log/btmp</userinput></screen>
     153<screen><userinput>touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}
     154chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
     155chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen>
    222156
    223   <para>The <filename>${LFS}/var/run/utmp</filename> file records the users
    224   that are currently logged in. The <filename>${LFS}/var/log/wtmp</filename>
     157  <para>The <filename>${CLFS}/var/run/utmp</filename> file records the users
     158  that are currently logged in. The <filename>${CLFS}/var/log/wtmp</filename>
    225159  file records all logins and logouts. The
    226   <filename>${LFS}/var/log/lastlog</filename> file records when
    227   each user last logged in. The <filename>${LFS}/var/log/btmp</filename> file
     160  <filename>${CLFS}/var/log/lastlog</filename> file records when
     161  each user last logged in. The <filename>${CLFS}/var/log/btmp</filename> file
    228162  records the bad login attempts.</para>
    229163
Note: See TracChangeset for help on using the changeset viewer.