Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/etc.x68k Change permission of grf, mouse, kbd to disallo...
details: https://anonhg.NetBSD.org/src/rev/78ce892a46e0
branches: trunk
changeset: 474004:78ce892a46e0
user: minoura <minoura%NetBSD.org@localhost>
date: Fri Jun 25 15:11:02 1999 +0000
description:
Change permission of grf, mouse, kbd to disallow access by no-root users.
diffstat:
etc/etc.x68k/MAKEDEV | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 38c5125b8466 -r 78ce892a46e0 etc/etc.x68k/MAKEDEV
--- a/etc/etc.x68k/MAKEDEV Fri Jun 25 14:27:55 1999 +0000
+++ b/etc/etc.x68k/MAKEDEV Fri Jun 25 15:11:02 1999 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.20 1999/01/16 01:40:30 abs Exp $
+# $NetBSD: MAKEDEV,v 1.21 1999/06/25 15:11:02 minoura Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -345,7 +345,7 @@
rm -f grf${unit}
case $unit in
0|1)
- mknod grf${unit} c 10 ${unit}; chmod 666 grf${unit}
+ mknod grf${unit} c 10 ${unit}; chmod 600 grf${unit}
;;
*)
echo bad unit for grf in: $i
@@ -358,7 +358,7 @@
rm -f mouse${unit}
case $unit in
0|1)
- mknod mouse${unit} c 15 ${unit}; chmod 666 mouse${unit}
+ mknod mouse${unit} c 15 ${unit}; chmod 600 mouse${unit}
if [ $unit = 0 ]
then
rm -f mouse; ln -s mouse${unit} mouse
@@ -373,6 +373,7 @@
kbd)
rm -f kbd
mknod kbd c 14 0
+ chmod 600 kbd
;;
Home |
Main Index |
Thread Index |
Old Index