summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-09-14 17:48:47 +0000
committermarkm <markm@FreeBSD.org>2000-09-14 17:48:47 +0000
commite93e32833df37c0d3f7eb1d06756fa656a318ea1 (patch)
treecf8f51a00c6d95aa93808931d6293b6cdb6c6577 /etc/MAKEDEV
parent4484d23ba731b5a116bedf7b28421514aa70f53b (diff)
downloadFreeBSD-src-e93e32833df37c0d3f7eb1d06756fa656a318ea1.zip
FreeBSD-src-e93e32833df37c0d3f7eb1d06756fa656a318ea1.tar.gz
Make the [u]random device's permissions match those in the matching
make_dev() call. At the moment, it is an error for anyone but root to write to this device (EPERM), and the permissions don't suggest that. Soon, however, anyone will be able to write here, but only root will cause an implicit reseed.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 086c91b..418a4fa 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -317,7 +317,7 @@ std)
mknod kmem c 2 1 root:kmem; chmod 640 kmem
mknod mem c 2 0 root:kmem; chmod 640 mem
mknod null c 2 2; chmod 666 null
- mknod random c 2 3; chmod 644 random
+ mknod random c 2 3; chmod 666 random
ln -f random urandom
mknod zero c 2 12; chmod 666 zero
mknod io c 2 14; chmod 600 io
OpenPOWER on IntegriCloud