diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/createfiles.xml | 6 | ||||
-rw-r--r-- | chapter06/udev.xml | 4 |
2 files changed, 6 insertions, 4 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 diff --git a/chapter06/udev.xml b/chapter06/udev.xml index f73da536d..ab4af0507 100644 --- a/chapter06/udev.xml +++ b/chapter06/udev.xml @@ -54,7 +54,7 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen> <para>Compile the package:</para> <screen><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \ - extras/firmware extras/floppy extras/path_id \ + extras/firmware extras/floppy extras/path_id extra/rule_generator \ extras/scsi_id extras/usb_id extras/volume_id"</userinput></screen> <variablelist> @@ -80,7 +80,7 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen> <screen><userinput>make DESTDIR=/ \ EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \ - extras/firmware extras/floppy extras/path_id \ + extras/firmware extras/floppy extras/path_id extras/rule_generator \ extras/scsi_id extras/usb_id extras/volume_id" install</userinput></screen> <variablelist> |