One of my users likes to cat /dev/random > /dev/null
. This has caused issues with other processes performing poorly because they're blocked waiting for entropy.
Is there a way of preventing users from consuming too much randomness?
I've tried cat /dev/zero > /dev/random
but of course that doesn't increase the entropy count.
mount --bind /dev/urandom /dev/random
and your user will generate instead of consuming entropy, and your programs won't block anymore. – Sep 04 '19 at 17:43