diff options
-rw-r--r-- | etc/etc.alpha/MAKEDEV | 5 | ||||
-rw-r--r-- | etc/etc.amiga/MAKEDEV | 11 | ||||
-rw-r--r-- | etc/etc.arc/MAKEDEV | 5 | ||||
-rw-r--r-- | etc/etc.arm32/MAKEDEV | 5 | ||||
-rw-r--r-- | etc/etc.atari/MAKEDEV | 6 | ||||
-rw-r--r-- | etc/etc.hp300/MAKEDEV | 8 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 8 | ||||
-rw-r--r-- | etc/etc.mac68k/MAKEDEV | 5 | ||||
-rw-r--r-- | etc/etc.mvme68k/MAKEDEV | 13 | ||||
-rw-r--r-- | etc/etc.pc532/MAKEDEV | 5 | ||||
-rw-r--r-- | etc/etc.pmax/MAKEDEV | 6 | ||||
-rw-r--r-- | etc/etc.powerpc/MAKEDEV | 8 | ||||
-rw-r--r-- | etc/etc.sparc/MAKEDEV | 14 | ||||
-rw-r--r-- | etc/etc.wgrisc/MAKEDEV | 5 | ||||
-rw-r--r-- | etc/etc.x68k/MAKEDEV | 10 | ||||
-rw-r--r-- | etc/mtree/4.4BSD.dist | 4 |
16 files changed, 76 insertions, 42 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV index 4451cd79bc2..7fcae79788c 100644 --- a/etc/etc.alpha/MAKEDEV +++ b/etc/etc.alpha/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.43 1999/07/30 18:49:35 deraadt Exp $ +# $OpenBSD: MAKEDEV,v 1.44 1999/08/20 17:00:33 downsj Exp $ # $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -319,7 +319,8 @@ ttyB*|ttyC*|ttyc*) rm -f tty$type$unit cua$type$unit mknod tty$type$unit c $major $minor mknod cua$type$unit c $major `add $minor 128` - chown uucp.wheel tty$type$unit cua$type$unit + chown uucp.dialer tty$type$unit cua$type$unit + chmod 660 tty$type$unit cua$type$unit ;; pty*) diff --git a/etc/etc.amiga/MAKEDEV b/etc/etc.amiga/MAKEDEV index eab587c00ab..69ff32933fc 100644 --- a/etc/etc.amiga/MAKEDEV +++ b/etc/etc.amiga/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.42 1999/07/30 18:49:35 deraadt Exp $ +# $OpenBSD: MAKEDEV,v 1.43 1999/08/20 17:00:33 downsj Exp $ # $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -406,7 +406,8 @@ tty0*|ttyA*) rm -f tty0${unit} cua0${unit} mknod tty0${unit} c 12 0 mknod cua0${unit} c 12 128 - chown uucp.wheel tty0${unit} cua0${unit} + chown uucp.dialer tty0${unit} cua0${unit} + chmod 660 tty0${unit} cua0${unit} ;; *) echo bad unit for tty0 in: $i @@ -418,7 +419,8 @@ tty0*|ttyA*) rm -f ttyA${unit} ttyM${unit} mknod ttyA${unit} c 17 $unit mknod ttyM${unit} c 17 `expr 128 + $unit` - chown uucp.wheel ttyA${unit} ttyM${unit} + chown uucp.dialer ttyA${unit} ttyM${unit} + chmod 660 ttyA${unit} ttyM${unit} ;; *) echo bad unit for ttyA in: $i @@ -568,7 +570,8 @@ ttyB*) rm -f ttyB$unit cuaB$unit mknod ttyB$unit c 32 $unit mknod cuaB$unit c 32 `expr $unit + 128` - chown uucp.wheel ttyB$unit cuaB$unit + chown uucp.dialer ttyB$unit cuaB$unit + chmod 660 ttyB$unit cuaB$unit ;; lpt*|lpa*) diff --git a/etc/etc.arc/MAKEDEV b/etc/etc.arc/MAKEDEV index 5d67ef83306..b6d947aa3c6 100644 --- a/etc/etc.arc/MAKEDEV +++ b/etc/etc.arc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.31 1999/07/30 18:49:36 deraadt Exp $ +# $OpenBSD: MAKEDEV,v 1.32 1999/08/20 17:00:34 downsj Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -398,7 +398,8 @@ tty*) rm -f tty$unit cua$unit mknod tty$unit c 17 $unit mknod cua$unit c 17 `expr $unit + 128` - chown uucp.wheel tty$unit cua$unit + chown uucp.dialer tty$unit cua$unit + chmod 660 tty$unit cua$unit ;; pty*) diff --git a/etc/etc.arm32/MAKEDEV b/etc/etc.arm32/MAKEDEV index 29aad521ce0..47f976ffe1f 100644 --- a/etc/etc.arm32/MAKEDEV +++ b/etc/etc.arm32/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.15 1998/11/25 04:58:53 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.16 1999/08/20 17:00:35 downsj Exp $ # $NetBSD: MAKEDEV,v 1.3 1996/04/26 20:10:24 mark Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -214,7 +214,8 @@ com*|tty*) # (XXX -- com should die) unit=`expr $i : '...\(.*\)'` rm -f com$unit tty0$unit mknod tty0$unit c 12 $unit - chown uucp.wheel tty0$unit + chown uucp.dialer tty0$unit + chmod 660 tty0$unit ;; pty*) diff --git a/etc/etc.atari/MAKEDEV b/etc/etc.atari/MAKEDEV index 59d18286e3e..7d76d22bd4f 100644 --- a/etc/etc.atari/MAKEDEV +++ b/etc/etc.atari/MAKEDEV @@ -136,13 +136,15 @@ fd) ser02) rm -f ser02 mknod ser02 c 7 0 - chown uucp.wheel ser02 + chown uucp.dialer ser02 + chmod 660 ser02 ;; mdm02) rm -f mdm02 mknod mdm02 c 7 16 - chown uucp.wheel mdm02 + chown uucp.dialer mdm02 + chmod 660 mdm02 ;; st*) diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV index 271a2a6c1b2..d05643cae7d 100644 --- a/etc/etc.hp300/MAKEDEV +++ b/etc/etc.hp300/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.29 1998/11/19 08:18:56 dugsong Exp $ +# $OpenBSD: MAKEDEV,v 1.30 1999/08/20 17:00:35 downsj Exp $ # $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -320,6 +320,8 @@ dca*) rm -f tty${unit} cua${unit} mknod tty${unit} c 12 ${unit} mknod cua${unit} c 12 `expr ${unit} + 128` + chown uucp.dialer tty${unit} cua${unit} + chmod 660 tty${unit} cua${unit} ;; *) echo bad unit for dca in: $i @@ -341,6 +343,8 @@ dcm*) rm -f {tty0,cua0}${ext} mknod tty0${ext} c 15 ${n} mknod cua0${ext} c 15 "$(( $n + 128 ))" + chown uucp.dialer tty0${ext} cua0${ext} + chmod 660 tty0${ext} cua0${ext} i="$(( $i + 1 ))" done @@ -360,6 +364,8 @@ apci*) rm -f ttya${i} cuaa${i} mknod ttya${i} c 35 ${i} mknod cuaa${i} c 35 `expr ${i} + 128` + chown uucp.dialer ttya${i} cuaa${i} + chmod 660 ttya${i} cuaa${i} done ;; *) diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 66bd9d942b1..bfaa0b8a899 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.72 1999/08/13 05:39:24 fgsch Exp $ +# $OpenBSD: MAKEDEV,v 1.73 1999/08/20 17:00:36 downsj Exp $ # $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -217,7 +217,8 @@ ttyc*) rm -f ttyc$unit cuac$unit mknod ttyc$unit c 38 $unit mknod cuac$unit c 38 `expr $unit + 128` - chown uucp.wheel ttyc$unit cuac$unit + chown uucp.dialer ttyc$unit cuac$unit + chmod 660 ttyc$unit cuac$unit ;; fd) @@ -419,7 +420,8 @@ tty0*) rm -f com0$unit tty0$unit cua0$unit mknod tty0$unit c 8 $unit mknod cua0$unit c 8 `expr $unit + 128` - chown uucp.wheel tty0$unit cua0$unit + chown uucp.dialer tty0$unit cua0$unit + chmod 660 tty0$unit cua0$unit ;; pty*) diff --git a/etc/etc.mac68k/MAKEDEV b/etc/etc.mac68k/MAKEDEV index 83c652cc4a6..9585e8df9e9 100644 --- a/etc/etc.mac68k/MAKEDEV +++ b/etc/etc.mac68k/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.29 1999/05/01 06:28:47 downsj Exp $ +# $OpenBSD: MAKEDEV,v 1.30 1999/08/20 17:00:36 downsj Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -255,7 +255,8 @@ tty0*) case ${unit} in 0|1) mknod tty0${unit} c 12 ${unit} - chown uucp.wheel tty0${unit} + chown uucp.dialer tty0${unit} + chmod 660 tty0${unit} ;; *) echo bad unit for serial tty in: $i diff --git a/etc/etc.mvme68k/MAKEDEV b/etc/etc.mvme68k/MAKEDEV index f6c806ff037..13e4294c674 100644 --- a/etc/etc.mvme68k/MAKEDEV +++ b/etc/etc.mvme68k/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.27 1998/11/25 04:58:54 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.28 1999/08/20 17:00:36 downsj Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -33,7 +33,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $OpenBSD: MAKEDEV,v 1.27 1998/11/25 04:58:54 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.28 1999/08/20 17:00:36 downsj Exp $ # # Device "make" file. Valid arguments: # all makes all known devices, including local devices, @@ -306,7 +306,8 @@ ttyw*|tty0*|ttya|ttyb|ttyc|ttyd) rm -f tty0${unit} cua0${unit} mknod tty0${unit} c 13 ${unit} mknod cua0${unit} c 13 `expr 128 + ${unit}` - chown uucp.wheel tty0${unit} cua0${unit} + chown uucp.dialer tty0${unit} cua0${unit} + chmod 660 tty0${unit} cua0${unit} ;; *) echo bad unit for tty0 in: $i @@ -320,7 +321,8 @@ ttyw*|tty0*|ttya|ttyb|ttyc|ttyd) rm -f ttyw${unit} cuaw${unit} mknod ttyw${unit} c 30 ${unit} mknod cuaw${unit} c 30 `expr 128 + ${unit}` - chown uucp.wheel ttyw${unit} cuaw${unit} + chown uucp.dialer ttyw${unit} cuaw${unit} + chmod 660 ttyw${unit} cuaw${unit} ;; *) echo bad unit for ttyw in: $i @@ -333,7 +335,8 @@ ttyw*|tty0*|ttya|ttyb|ttyc|ttyd) rm -f tty${unit} cua${unit} mknod tty${unit} c 12 ${num} mknod cua${unit} c 12 `expr 128 + ${num}` - chown uucp.wheel tty${unit} cua${unit} + chown uucp.dialer tty${unit} cua${unit} + chmod 660 tty${unit} cua${unit} ;; *) echo bad type for tty in: $i diff --git a/etc/etc.pc532/MAKEDEV b/etc/etc.pc532/MAKEDEV index 2bbbd7f84fa..7917e095b4b 100644 --- a/etc/etc.pc532/MAKEDEV +++ b/etc/etc.pc532/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.16 1998/11/25 04:58:54 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.17 1999/08/20 17:00:36 downsj Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -176,7 +176,8 @@ vnd*) tty*) unit=`expr $i : '...\(.*\)'` mknod tty0$unit c 8 $unit - chown uucp.wheel tty0$unit + chown uucp.dialer tty0$unit + chmod 660 tty0$unit ;; pty*) diff --git a/etc/etc.pmax/MAKEDEV b/etc/etc.pmax/MAKEDEV index d109259509e..0ba5cf4ee41 100644 --- a/etc/etc.pmax/MAKEDEV +++ b/etc/etc.pmax/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.30 1998/11/25 04:58:54 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.31 1999/08/20 17:00:37 downsj Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -314,6 +314,8 @@ dc*) 0) mknod tty00 c 16 2 mknod tty01 c 16 3 + chown uucp.dialer tty00 tty01 + chmod 660 tty00 tty01 ;; *) echo bad unit for dc in: $i @@ -327,6 +329,8 @@ scc*) 0) mknod tty00 c 17 0 mknod tty01 c 17 2 + chown uucp.dialer tty00 tty01 + chmod 660 tty00 tty01 ;; *) echo bad unit for scc in: $i diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV index 98f5925f228..64c613083f8 100644 --- a/etc/etc.powerpc/MAKEDEV +++ b/etc/etc.powerpc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.26 1998/11/25 04:58:55 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.27 1999/08/20 17:00:37 downsj Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -290,7 +290,8 @@ ttyo*) case ${unit} in 0|1) mknod ttyo${unit} c 14 ${unit} - chown uucp.wheel ttyo${unit} + chown uucp.dialer ttyo${unit} + chmod 660 ttyo${unit} ;; *) echo bad unit for serial tty in: $i @@ -302,7 +303,8 @@ tty0*) rm -f tty0$unit cua0$unit mknod tty0$unit c 7 $unit mknod cua0$unit c 7 `expr $unit + 128` - chown uucp.wheel tty0$unit cua0$unit + chown uucp.dialer tty0$unit cua0$unit + chmod 660 tty0$unit cua0$unit ;; pty*) diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV index aa85894acd4..f6f49e31fc6 100644 --- a/etc/etc.sparc/MAKEDEV +++ b/etc/etc.sparc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.58 1999/07/18 17:07:48 deraadt Exp $ +# $OpenBSD: MAKEDEV,v 1.59 1999/08/20 17:00:37 downsj Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -557,7 +557,8 @@ tty[a-z]) *) echo unknown tty device $i ;; esac mknod tty$unit c 12 $n - chown uucp.wheel tty$unit + chown uucp.dialer tty$unit + chmod 660 tty$unit ;; cua[a-z]) @@ -571,7 +572,8 @@ cua[a-z]) *) echo unknown cua device $i ;; esac mknod cua$unit c 12 `add $n 128` - chown uucp.wheel cua$unit + chown uucp.dialer cua$unit + chmod 660 cua$unit ;; pty*) @@ -625,7 +627,8 @@ spif*) do name=$nam`hex $n` mknod tty$name c 102 `add $offset $n` - chown uucp.wheel tty$name + chown uucp.dialer tty$name + chmod 660 tty$name n=`add $n 1` done mknod bpps${unit}0 c 103 `add $offset 0` @@ -645,7 +648,8 @@ magma*) do name=$nam`hex $n` mknod tty$name c 100 `add $offset $n` - chown uucp.wheel tty$name + chown uucp.dialer tty$name + chmod 660 tty$name n=`add $n 1` done mknod bppm${unit}0 c 101 `add $offset 0` diff --git a/etc/etc.wgrisc/MAKEDEV b/etc/etc.wgrisc/MAKEDEV index 5e849eb30d6..4da38c83f3a 100644 --- a/etc/etc.wgrisc/MAKEDEV +++ b/etc/etc.wgrisc/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.8 1998/11/25 04:58:55 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.9 1999/08/20 17:00:37 downsj Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -216,7 +216,8 @@ tty*) rm -f tty$unit cua$unit mknod tty$unit c 17 $unit mknod cua$unit c 17 `expr $unit + 128` - chown uucp.wheel tty$unit cua$unit + chown uucp.dialer tty$unit cua$unit + chmod 660 tty$unit cua$unit ;; pty*) diff --git a/etc/etc.x68k/MAKEDEV b/etc/etc.x68k/MAKEDEV index 06c6fc1782e..3a382ced22f 100644 --- a/etc/etc.x68k/MAKEDEV +++ b/etc/etc.x68k/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.12 1998/11/25 04:58:55 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.13 1999/08/20 17:00:38 downsj Exp $ # $NetBSD: MAKEDEV,v 1.1.1.1.4.1 1996/06/17 02:36:16 oki Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -34,7 +34,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $Id: MAKEDEV,v 1.12 1998/11/25 04:58:55 millert Exp $ +# $Id: MAKEDEV,v 1.13 1999/08/20 17:00:38 downsj Exp $ # # from: # hp300/MAKEDEV (1/15/94), from: @@ -310,7 +310,8 @@ tty0*) rm -f tty0${unit} ttym${unit} mknod tty0${unit} c 12 $unit mknod ttym${unit} c 12 `expr 128 + $unit` - chown uucp.wheel tty0${unit} ttym${unit} + chown uucp.dialer tty0${unit} ttym${unit} + chmod 660 tty0${unit} ttym${unit} ;; *) echo bad unit for ser in: $i @@ -326,7 +327,8 @@ com*) 0|1) rm -f com${unit} mknod com${unit} c 16 $unit - chown uucp.wheel com${unit} + chown uucp.dialer com${unit} + chmod 660 com${unit} ;; *) echo bad unit for com in: $i diff --git a/etc/mtree/4.4BSD.dist b/etc/mtree/4.4BSD.dist index f3a12f67c0c..98f15c6cdd4 100644 --- a/etc/mtree/4.4BSD.dist +++ b/etc/mtree/4.4BSD.dist @@ -1,4 +1,4 @@ -# $OpenBSD: 4.4BSD.dist,v 1.78 1999/08/02 19:50:09 jakob Exp $ +# $OpenBSD: 4.4BSD.dist,v 1.79 1999/08/20 17:00:38 downsj Exp $ /set type=dir uname=root gname=wheel mode=0755 # . @@ -1790,7 +1790,7 @@ hidden mode=0111 .. # ./var/spool/lock -lock uname=uucp gname=daemon +lock uname=uucp gname=dialer mode=1775 # ./var/spool/lock .. |