Changeset 22a9a76 for chroot/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
  • chroot/common/pwdgroup.xml

    ref646a8 r22a9a76  
    4444
    4545<screen><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    46 <literal>root::0:0:root:/root:/bin/bash
    47 bin: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
    51 mail:x:30:30:mail:/var/spool/mail:/bin/false
    52 news:x:31:31:news:/var/spool/news:/bin/false
    53 uucp:x:32:32:uucp:/var/spool/uucp:/bin/false
    54 operator:x:50:0:operator:/root:/bin/bash
    55 postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false
    56 nobody:x:65534:65534:nobody:/:/bin/false</literal>
     46<literal>root:x:0:0:root:/root:/bin/bash</literal>
    5747EOF</userinput></screen>
    5848
     
    6151  xpointer="xpointer(//*[@os='a'])"/>
    6252
     53  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     54  href="../../boot/common/pwdgroup.xml"
     55  xpointer="xpointer(//*[@os='b'])"/>
     56
    6357  <para>Create the <filename>/etc/group</filename> file by running the
    6458  following command:</para>
    6559
    6660<screen><userinput>cat &gt; /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
    86 mail::30:mail
    87 news::31:news
    88 uucp::32:uucp
    89 users::100:
    90 nogroup::65533:
    91 nobody::65534:</literal>
     61<literal>root:x:0:
     62bin:x:1:
     63sys:x:2:
     64kmem:x:3:
     65tty:x:4:
     66tape:x:5:
     67daemon:x:6:
     68floppy:x:7:
     69disk:x:8:
     70lp:x:9:
     71dialout:x:10:
     72audio:x:11:
     73video:x:12:
     74utmp:x:13:
     75usb:x:14:
     76cdrom:x:15:</literal>
    9277EOF</userinput></screen>
    9378
    9479  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9580  href="../../boot/common/pwdgroup.xml"
    96   xpointer="xpointer(//*[@os='b'])"/>
     81  xpointer="xpointer(//*[@os='c'])"/>
     82
     83  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     84  href="../../boot/common/pwdgroup.xml"
     85  xpointer="xpointer(//*[@os='d'])"/>
     86
     87  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     88  href="../../boot/common/pwdgroup.xml"
     89  xpointer="xpointer(//*[@os='e'])"/>
    9790
    9891  <para>To remove the <quote>I have no name!</quote> prompt, start a
Note: See TracChangeset for help on using the changeset viewer.