r119 - in trunk/text: chapter06 chapter07

robert at linuxfromscratch.org robert at linuxfromscratch.org
Fri Jan 21 08:20:55 PST 2005


Author: robert
Date: 2005-01-21 09:20:53 -0700 (Fri, 21 Jan 2005)
New Revision: 119

Modified:
   trunk/text/chapter06/07-devices.txt
   trunk/text/chapter07/02-bootscripts.txt
Log:
set f,erandom's permissions same as urandom

Modified: trunk/text/chapter06/07-devices.txt
===================================================================
--- trunk/text/chapter06/07-devices.txt	2005-01-21 15:55:53 UTC (rev 118)
+++ trunk/text/chapter06/07-devices.txt	2005-01-21 16:20:53 UTC (rev 119)
@@ -13,7 +13,7 @@
 mknod -m 666 /dev/tty c 5 0 &&
 mknod -m 444 /dev/random c 1 8 &&
 mknod -m 444 /dev/urandom c 1 9 &&
-mknod /dev/erandom c 235 12 &&
+mknod -m 444 /dev/erandom c 235 12 &&
 chown root:tty /dev/{console,ptmx,tty} &&
 ln -s /proc/self/fd /dev/fd &&
 ln -s /proc/self/fd/0 /dev/stdin &&

Modified: trunk/text/chapter07/02-bootscripts.txt
===================================================================
--- trunk/text/chapter07/02-bootscripts.txt	2005-01-21 15:55:53 UTC (rev 118)
+++ trunk/text/chapter07/02-bootscripts.txt	2005-01-21 16:20:53 UTC (rev 119)
@@ -8,8 +8,8 @@
 # The erandom and frandom devices are not found by udev, so we need to
 # create them on boot. The createfiles script will do that for us.
 
-echo "/dev/frandom dev 0755 root root char 235 11
-/dev/erandom dev 0755 root root char 235 12" >> /etc/sysconfig/createfiles
+echo "/dev/frandom dev 0444 root root char 235 11
+/dev/erandom dev 0444 root root char 235 12" >> /etc/sysconfig/createfiles
 
 # Then unpack blfs-bootscripts. The patch adds frandom to random's start
 # command. Then install the random seed script.




More information about the hlfs-dev mailing list