Changeset 65018363
- Timestamp:
- Jun 28, 2006, 2:08:43 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 3826e26
- Parents:
- 1246ca4
- Location:
- BOOK
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/pwdgroup.xml
r1246ca4 r65018363 44 44 45 45 <screen><userinput>cat > ${LFS}/etc/passwd << "EOF" 46 <literal>root::0:0:root:/root:/bin/bash 46 <literal>root:x:0:0:root:/root:/bin/bash</literal> 47 EOF</userinput></screen> 48 49 <para os="a">TO BE WRITTEN: more text describing additional users 47 50 bin:x:1:1:bin:/bin:/bin/false 48 daemon:x:2: 2:daemon:/sbin:/bin/false49 adm:x:3: 4:adm:/var/adm:/bin/false50 lp:x:10: 18:lp:/var/spool/lp:/bin/false51 daemon:x:2:6:daemon:/sbin:/bin/false 52 adm:x:3:16:adm:/var/adm:/bin/false 53 lp:x:10:9:lp:/var/spool/lp:/bin/false 51 54 mail:x:30:30:mail:/var/spool/mail:/bin/false 52 55 news:x:31:31:news:/var/spool/news:/bin/false … … 54 57 operator:x:50:0:operator:/root:/bin/bash 55 58 postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false 56 nobody:x:65534:65534:nobody:/:/bin/false</literal> 57 EOF</userinput></screen> 59 nobody:x:65534:65534:nobody:/:/bin/false</para> 58 60 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> 60 62 (the <quote>x</quote> used here is just a placeholder) will be set 61 63 later.</para> … … 65 67 66 68 <screen><userinput>cat > ${LFS}/etc/group << "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: 70 bin:x:1: 71 sys:x:2: 72 kmem:x:3: 73 tty:x:4: 74 tape:x:5: 75 daemon:x:6: 76 floppy:x:7: 77 disk:x:8: 78 lp:x:9: 79 dialout:x:10: 80 audio:x:11: 81 video:x:12: 82 utmp:x:13: 83 usb:x:14: 84 cdrom:x:15:</literal> 85 EOF</userinput></screen> 86 87 <para os="c">TO BE WRITTEN: more text describing additional groups 88 adm::16:root,adm,daemon 89 console::17: 90 cdrw::18: 86 91 mail::30:mail 87 92 news::31:news … … 89 94 users::100: 90 95 nogroup::65533: 91 nobody::65534:</literal> 92 EOF</userinput></screen> 96 nobody::65534:</para> 93 97 94 <para os=" b">The created groups are not part of any standard—they are98 <para os="d">The created groups are not part of any standard—they are 95 99 groups decided on in part by the requirements of the Udev configuration 96 100 in the final system, and in part by common convention employed by a … … 103 107 group's name.</para> 104 108 105 <para os=" c">The <command>login</command>, <command>agetty</command>, and109 <para os="e">The <command>login</command>, <command>agetty</command>, and 106 110 <command>init</command> programs (and others) use a number of log 107 111 files to record information such as who was logged into the system and -
BOOK/chroot/common/pwdgroup.xml
r1246ca4 r65018363 44 44 45 45 <screen><userinput>cat > /etc/passwd << "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> 57 47 EOF</userinput></screen> 58 48 … … 61 51 xpointer="xpointer(//*[@os='a'])"/> 62 52 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 href="../../boot/common/pwdgroup.xml" 55 xpointer="xpointer(//*[@os='b'])"/> 56 63 57 <para>Create the <filename>/etc/group</filename> file by running the 64 58 following command:</para> 65 59 66 60 <screen><userinput>cat > /etc/group << "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: 62 bin:x:1: 63 sys:x:2: 64 kmem:x:3: 65 tty:x:4: 66 tape:x:5: 67 daemon:x:6: 68 floppy:x:7: 69 disk:x:8: 70 lp:x:9: 71 dialout:x:10: 72 audio:x:11: 73 video:x:12: 74 utmp:x:13: 75 usb:x:14: 76 cdrom:x:15:</literal> 92 77 EOF</userinput></screen> 93 78 94 79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 95 80 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'])"/> 97 90 98 91 <para>To remove the <quote>I have no name!</quote> prompt, start a
Note:
See TracChangeset
for help on using the changeset viewer.