Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.alpha Don't set wskbd* devices to 666, use 600 like ...



details:   https://anonhg.NetBSD.org/src/rev/23caa57165b4
branches:  trunk
changeset: 477530:23caa57165b4
user:      dan <dan%NetBSD.org@localhost>
date:      Tue Oct 19 22:26:52 1999 +0000

description:
Don't set wskbd* devices to 666, use 600 like every other arch, to
prevent random users remapping your console keyboard.

diffstat:

 etc/etc.alpha/MAKEDEV |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r d18228011dc6 -r 23caa57165b4 etc/etc.alpha/MAKEDEV
--- a/etc/etc.alpha/MAKEDEV     Tue Oct 19 21:16:04 1999 +0000
+++ b/etc/etc.alpha/MAKEDEV     Tue Oct 19 22:26:52 1999 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV,v 1.51 1999/10/18 22:41:23 ad Exp $
+#      $NetBSD: MAKEDEV,v 1.52 1999/10/19 22:26:52 dan Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -403,7 +403,7 @@
        rm -f $wskbd
        mknod $wskbd c 29 $unit
        chown root.wheel $wskbd
-       chmod 666 $wskbd
+       chmod 600 $wskbd
        ;;
 
 wsmouse*)



Home | Main Index | Thread Index | Old Index