diff options
Diffstat (limited to 'chapter06/createfiles.xml')
-rw-r--r-- | chapter06/createfiles.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index c48ebb49a..85a6cd7da 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -62,7 +62,8 @@ ln -sv bash /bin/sh</userinput></screen> 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:99:99:nobody:Unprivileged User:/bin/false</literal> EOF</userinput></screen> <para>The actual password for <systemitem class="username">root</systemitem> @@ -87,7 +88,8 @@ audio:x:11: video:x:12: utmp:x:13: usb:x:14: -cdrom:x:15:</literal> +cdrom:x:15: +nogroup:x:99:</literal> EOF</userinput></screen> <para>The created groups are not part of any standard—they are groups |