diff options
author | Jim Gifford <jim@linuxfromscratch.org> | 2005-03-13 05:00:01 +0000 |
---|---|---|
committer | Jim Gifford <jim@linuxfromscratch.org> | 2005-03-13 05:00:01 +0000 |
commit | d697394ad2a1091f499c0410584778e52e8e1ee9 (patch) | |
tree | 8a0801991495701931eb47f638f9d4e3dd181889 /chapter06 | |
parent | f18250cd5811404cecb85ada102f443fed32af39 (diff) |
passwd and group changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4738 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/pwdgroup.xml | 21 |
1 files changed, 7 insertions, 14 deletions
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 > /etc/passwd << "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 > /etc/group << "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—they are some |