This is taken from the rc.S script form Slackware... does anybody know what use does running this at entering runlevels (2, 3, 5 maybe 1) has? # Carry an entropy pool between reboots to improve randomness. # Load and then save 512 bytes, which is the size of the entropy pool. if [ -f /etc/random-seed ]; then echo "Using /etc/random-seed to initialize /dev/urandom." cat /etc/random-seed >/dev/urandom fi dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2> /dev/null Thanks alot, Raul
hi raul, this initializes the randum number generator with the last value it had at shutdown (if saved). this is to prevent that that the sequence of random number is predictible. if you have programmed random number generators, and not real rng's (like natural noise or the like) they mostly produce the same sequence of numbers with a given set of startup-values (the ones at program start, usually) imagine all that crypto tools using random numbers would be void because after each startup the encryption would be the same at a given time ..... greets, chris Am Mittwoch, 5. Dezember 2001 14:53 schrieb Raúl Gutiérrez Segalés:
This is taken from the rc.S script form Slackware... does anybody know what use does running this at entering runlevels (2, 3, 5 maybe 1) has?
# Carry an entropy pool between reboots to improve randomness. # Load and then save 512 bytes, which is the size of the entropy pool. if [ -f /etc/random-seed ]; then echo "Using /etc/random-seed to initialize /dev/urandom." cat /etc/random-seed >/dev/urandom fi dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2> /dev/null
Thanks alot,
Raul
-- visit me: http://mamalala.de - jmax audio related http://video.mamalala.de - jmax video related irc.openprojects.net - channel #jmax
Hi! I have problems with quota over nfs. Quota works on the server but not on the clients. Some information about the server and client Configurations: ----------- NFS Server ----------- kernel=2.4.2 fstab : /dev/hdb1 /home ext2 defaults,usrquota 1 1 exports: /home client(rw) ps aux | grep rpc: root 237 0.0 0.0 0 0 ? SW Dec20 0:00 [rpciod] root 4140 0.0 0.2 1252 548 ? S Dec20 0:00 /usr/sbin/rpc.rquotad root 4197 0.0 0.4 1792 912 ? S Dec20 0:00 /usr/sbin/rpc.mountd root 4200 0.0 0.6 2176 1280 ? S Dec20 0:02 /usr/sbin/rpc.nfsd quota -u kota: Disk quotas for user kota (uid 501): Filesystem blocks quota limit grace files quota limit grace /dev/hdb1 2288* 2000 3000 6days 129 2000 3000 su kota; cd; ls -al > test : ide0(3,65): write failed, user disk limit reached. ls: write error: Disk quota exceeded !!!!!! GOOD !!!!!!! --------------- Client ------------------ kernel=2.4.5 fstab: server:/home /home nfs defaults quota -u kota: Disk quotas for user kota (uid 501): Filesystem blocks quota limit grace files quota limit grace server:/home 12000* 8000 12000 6days 348 2000 3000 su kota; cd; ls -al > test: !!!!! Nothing !!!!! He was able to write. Anybody can tell me what is wrong?
participants (3)
-
Aras.Gor. Huseyin Kaya
-
Christian Klippel
-
Raúl Gutiérrez Segalés