aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Gifford <jim@linuxfromscratch.org>2005-03-13 05:00:01 +0000
committerJim Gifford <jim@linuxfromscratch.org>2005-03-13 05:00:01 +0000
commitd697394ad2a1091f499c0410584778e52e8e1ee9 (patch)
tree8a0801991495701931eb47f638f9d4e3dd181889
parentf18250cd5811404cecb85ada102f443fed32af39 (diff)
passwd and group changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4738 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml3
-rw-r--r--chapter03/packages.xml2
-rw-r--r--chapter06/pwdgroup.xml21
-rw-r--r--chapter08/fstab.xml2
4 files changed, 12 insertions, 16 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index bfb0d5c06..e52aff901 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -82,6 +82,9 @@ first a summary, then a detailed log.</para>
</itemizedlist>
</listitem>
+<listitem><para>March 12, 2005 [matt]: Udated users/groups as per discussion on
+lfs-dev. http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2005-February/050573.html</para></listitem>
+
<listitem><para>March 12, 2005 [matt]: Upgraded to udev-054</para></listitem>
<listitem><para>March 12, 2005 [matt]: Upgraded to findutils-4.2.19</para>
diff --git a/chapter03/packages.xml b/chapter03/packages.xml
index b7f6b6069..3662927f6 100644
--- a/chapter03/packages.xml
+++ b/chapter03/packages.xml
@@ -398,7 +398,7 @@ url="ftp://ftp.linuxfromscratch.org/pub/lfs/"/>.</para></note>
<varlistentry>
<term>Udev Rules Configuration - 5 KB:</term>
<listitem>
-<para><ulink url="http://downloads.linuxfromscratch.org/udev-config-3.rules"/></para>
+<para><ulink url="http://downloads.linuxfromscratch.org/udev-config-2.rules"/></para>
</listitem>
</varlistentry>
diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml
index 990fe976e..a6aa0d938 100644
--- a/chapter06/pwdgroup.xml
+++ b/chapter06/pwdgroup.xml
@@ -23,7 +23,8 @@ be relevant entries in the <filename>/etc/passwd</filename> and
command:</para>
<screen><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
-<literal>root:x:0:0:root:/root:/bin/bash</literal>
+<literal>root:x:0:0:root:/root:/bin/bash
+nobody:x:65534:65534:Nobody:/:/sbin/nologin</literal>
EOF</userinput></screen>
<para>The actual password for <emphasis>root</emphasis> (the <quote>x</quote>
@@ -34,20 +35,12 @@ command:</para>
<screen><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
<literal>root:x:0:
-bin:x:1:
-sys:x:2:
+console:x:1:
+tty: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:</literal>
+disk:x:4:
+utmp:x:5:
+nogroup:x:65534:</literal>
EOF</userinput></screen>
<para>The created groups are not part of any standard&mdash;they are some
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml
index 969d306fb..677e63fcd 100644
--- a/chapter08/fstab.xml
+++ b/chapter08/fstab.xml
@@ -24,7 +24,7 @@ table like this:</para>
/dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
-devpts /dev/pts devpts gid=4,mode=620 0 0
+devpts /dev/pts devpts gid=2,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
# End /etc/fstab</literal>
EOF</userinput></screen>