Index: boot/common/pwdgroup.xml
===================================================================
--- boot/common/pwdgroup.xml (revision ef646a8ec0e1f1b790a32c10785ccb565e969e95)
+++ boot/common/pwdgroup.xml (revision 22a9a769f2e3a2d01486627cdab273607bf89cbe)
@@ -44,9 +44,12 @@
cat > ${LFS}/etc/passwd << "EOF"
-root::0:0:root:/root:/bin/bash
+root:x:0:0:root:/root:/bin/bash
+EOF
+
+TO BE WRITTEN: more text describing additional users
bin:x:1:1:bin:/bin:/bin/false
-daemon:x:2:2:daemon:/sbin:/bin/false
-adm:x:3:4:adm:/var/adm:/bin/false
-lp:x:10:18:lp:/var/spool/lp:/bin/false
+daemon:x:2:6:daemon:/sbin:/bin/false
+adm:x:3:16:adm:/var/adm:/bin/false
+lp:x:10:9:lp:/var/spool/lp:/bin/false
mail:x:30:30:mail:/var/spool/mail:/bin/false
news:x:31:31:news:/var/spool/news:/bin/false
@@ -54,8 +57,7 @@
operator:x:50:0:operator:/root:/bin/bash
postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false
-nobody:x:65534:65534:nobody:/:/bin/false
-EOF
+nobody:x:65534:65534:nobody:/:/bin/false
- The actual password for root
+ The actual password for root
(the x
used here is just a placeholder) will be set
later.
@@ -65,23 +67,26 @@
cat > ${LFS}/etc/group << "EOF"
-root::0:root
-bin::1:root,bin,daemon
-daemon::2:root,bin,daemon
-sys::3:root,bin,adm
-adm::4:root,adm,daemon
-kmem::5:
-utmp::6:
-tty::10:
-video::11:root
-console::12:
-disk::13:root,adm
-floppy::14:root
-cdrom::15:
-cdrw::16:
-tape::17:root
-lp::18:lp
-usb::19:
-audio::20:
-dialout::21:root
+root:x:0:
+bin:x:1:
+sys:x:2:
+kmem:x:3:
+tty:x:4:
+tape:x:5:
+daemon:x:6:
+floppy:x:7:
+disk:x:8:
+lp:x:9:
+dialout:x:10:
+audio:x:11:
+video:x:12:
+utmp:x:13:
+usb:x:14:
+cdrom:x:15:
+EOF
+
+TO BE WRITTEN: more text describing additional groups
+adm::16:root,adm,daemon
+console::17:
+cdrw::18:
mail::30:mail
news::31:news
@@ -89,8 +94,7 @@
users::100:
nogroup::65533:
-nobody::65534:
-EOF
+nobody::65534:
- The created groups are not part of any standard—they are
+ The created groups are not part of any standard—they are
groups decided on in part by the requirements of the Udev configuration
in the final system, and in part by common convention employed by a
@@ -103,5 +107,5 @@
group's name.
- The login, agetty, and
+ The login, agetty, and
init programs (and others) use a number of log
files to record information such as who was logged into the system and
Index: chroot/common/pwdgroup.xml
===================================================================
--- chroot/common/pwdgroup.xml (revision ef646a8ec0e1f1b790a32c10785ccb565e969e95)
+++ chroot/common/pwdgroup.xml (revision 22a9a769f2e3a2d01486627cdab273607bf89cbe)
@@ -44,15 +44,5 @@
cat > /etc/passwd << "EOF"
-root::0:0:root:/root:/bin/bash
-bin:x:1:1:bin:/bin:/bin/false
-daemon:x:2:2:daemon:/sbin:/bin/false
-adm:x:3:4:adm:/var/adm:/bin/false
-lp:x:10:18:lp:/var/spool/lp:/bin/false
-mail:x:30:30:mail:/var/spool/mail:/bin/false
-news:x:31:31:news:/var/spool/news:/bin/false
-uucp:x:32:32:uucp:/var/spool/uucp:/bin/false
-operator:x:50:0:operator:/root:/bin/bash
-postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false
-nobody:x:65534:65534:nobody:/:/bin/false
+root:x:0:0:root:/root:/bin/bash
EOF
@@ -61,38 +51,41 @@
xpointer="xpointer(//*[@os='a'])"/>
+
+
Create the /etc/group file by running the
following command:
cat > /etc/group << "EOF"
-root::0:root
-bin::1:root,bin,daemon
-daemon::2:root,bin,daemon
-sys::3:root,bin,adm
-adm::4:root,adm,daemon
-kmem::5:
-utmp::6:
-tty::10:
-video::11:root
-console::12:
-disk::13:root,adm
-floppy::14:root
-cdrom::15:
-cdrw::16:
-tape::17:root
-lp::18:lp
-usb::19:
-audio::20:
-dialout::21:root
-mail::30:mail
-news::31:news
-uucp::32:uucp
-users::100:
-nogroup::65533:
-nobody::65534:
+root:x:0:
+bin:x:1:
+sys:x:2:
+kmem:x:3:
+tty:x:4:
+tape:x:5:
+daemon:x:6:
+floppy:x:7:
+disk:x:8:
+lp:x:9:
+dialout:x:10:
+audio:x:11:
+video:x:12:
+utmp:x:13:
+usb:x:14:
+cdrom:x:15:
EOF
+ xpointer="xpointer(//*[@os='c'])"/>
+
+
+
+
To remove the I have no name!
prompt, start a