Changeset 22a9a76 for boot/common


Ignore:
Timestamp:
Jun 28, 2006, 7:08:43 AM (18 years ago)
Author:
Chris Staub <chris@…>
Children:
9f86acb
Parents:
ef646a8
Message:

Modified the creation the /etc/passwd and /etc/group, and added some temp. placeholder text for additional users and groups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/common/pwdgroup.xml

    ref646a8 r22a9a76  
    4444
    4545<screen><userinput>cat &gt; ${LFS}/etc/passwd &lt;&lt; "EOF"
    46 <literal>root::0:0:root:/root:/bin/bash
     46<literal>root:x:0:0:root:/root:/bin/bash</literal>
     47EOF</userinput></screen>
     48
     49<para os="a">TO BE WRITTEN: more text describing additional users
    4750bin:x:1:1:bin:/bin:/bin/false
    48 daemon:x:2:2:daemon:/sbin:/bin/false
    49 adm:x:3:4:adm:/var/adm:/bin/false
    50 lp:x:10:18:lp:/var/spool/lp:/bin/false
     51daemon:x:2:6:daemon:/sbin:/bin/false
     52adm:x:3:16:adm:/var/adm:/bin/false
     53lp:x:10:9:lp:/var/spool/lp:/bin/false
    5154mail:x:30:30:mail:/var/spool/mail:/bin/false
    5255news:x:31:31:news:/var/spool/news:/bin/false
     
    5457operator:x:50:0:operator:/root:/bin/bash
    5558postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false
    56 nobody:x:65534:65534:nobody:/:/bin/false</literal>
    57 EOF</userinput></screen>
     59nobody:x:65534:65534:nobody:/:/bin/false</para>
    5860
    59   <para os="a">The actual password for <systemitem class="username">root</systemitem>
     61  <para os="b">The actual password for <systemitem class="username">root</systemitem>
    6062  (the <quote>x</quote> used here is just a placeholder) will be set
    6163  later.</para>
     
    6567
    6668<screen><userinput>cat &gt; ${LFS}/etc/group &lt;&lt; "EOF"
    67 <literal>root::0:root
    68 bin::1:root,bin,daemon
    69 daemon::2:root,bin,daemon
    70 sys::3:root,bin,adm
    71 adm::4:root,adm,daemon
    72 kmem::5:
    73 utmp::6:
    74 tty::10:
    75 video::11:root
    76 console::12:
    77 disk::13:root,adm
    78 floppy::14:root
    79 cdrom::15:
    80 cdrw::16:
    81 tape::17:root
    82 lp::18:lp
    83 usb::19:
    84 audio::20:
    85 dialout::21:root
     69<literal>root:x:0:
     70bin:x:1:
     71sys:x:2:
     72kmem:x:3:
     73tty:x:4:
     74tape:x:5:
     75daemon:x:6:
     76floppy:x:7:
     77disk:x:8:
     78lp:x:9:
     79dialout:x:10:
     80audio:x:11:
     81video:x:12:
     82utmp:x:13:
     83usb:x:14:
     84cdrom:x:15:</literal>
     85EOF</userinput></screen>
     86
     87<para os="c">TO BE WRITTEN: more text describing additional groups
     88adm::16:root,adm,daemon
     89console::17:
     90cdrw::18:
    8691mail::30:mail
    8792news::31:news
     
    8994users::100:
    9095nogroup::65533:
    91 nobody::65534:</literal>
    92 EOF</userinput></screen>
     96nobody::65534:</para>
    9397
    94   <para os="b">The created groups are not part of any standard&mdash;they are
     98  <para os="d">The created groups are not part of any standard&mdash;they are
    9599  groups decided on in part by the requirements of the Udev configuration
    96100  in the final system, and in part by common convention employed by a
     
    103107  group's name.</para>
    104108
    105   <para os="c">The <command>login</command>, <command>agetty</command>, and
     109  <para os="e">The <command>login</command>, <command>agetty</command>, and
    106110  <command>init</command> programs (and others) use a number of log
    107111  files to record information such as who was logged into the system and
Note: See TracChangeset for help on using the changeset viewer.