aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/pwdgroup.xml
diff options
context:
space:
mode:
authorJim Gifford <jim@linuxfromscratch.org>2005-03-13 05:30:59 +0000
committerJim Gifford <jim@linuxfromscratch.org>2005-03-13 05:30:59 +0000
commite2c85b1176f0059b7c877922fe22bb8b677d0982 (patch)
treea3acdd9700af09de0be053ba4f1f8375fe62d6d1 /chapter06/pwdgroup.xml
parentd697394ad2a1091f499c0410584778e52e8e1ee9 (diff)
Reverse of r4738
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4740 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/pwdgroup.xml')
-rw-r--r--chapter06/pwdgroup.xml21
1 files changed, 14 insertions, 7 deletions
diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml
index a6aa0d938..990fe976e 100644
--- a/chapter06/pwdgroup.xml
+++ b/chapter06/pwdgroup.xml
@@ -23,8 +23,7 @@ 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
-nobody:x:65534:65534:Nobody:/:/sbin/nologin</literal>
+<literal>root:x:0:0:root:/root:/bin/bash</literal>
EOF</userinput></screen>
<para>The actual password for <emphasis>root</emphasis> (the <quote>x</quote>
@@ -35,12 +34,20 @@ command:</para>
<screen><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
<literal>root:x:0:
-console:x:1:
-tty:x:2:
+bin:x:1:
+sys:x:2:
kmem:x:3:
-disk:x:4:
-utmp:x:5:
-nogroup:x:65534:</literal>
+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>
EOF</userinput></screen>
<para>The created groups are not part of any standard&mdash;they are some