diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1999-08-20 17:00:39 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1999-08-20 17:00:39 +0000 |
commit | ba8dd013df3354828f93ae36fcb05e6bd34db0e4 (patch) | |
tree | 6bad76b347c198f58356f7fecef63053a11102ae /etc/etc.x68k | |
parent | d59b60290a19250ffb3c30f8b7e8e14cd115f6cd (diff) |
Change the default serial port device and /var/spool/lock permissions.
/var/spool/lock becomes uucp.dialer, mode 1775, and serial devices
become uucp.dialer, mode 660.
(A couple of "dead" MAKEDEVs have been updated because they conformed the
the old permission scheme, while others have not because they didn't.)
Diffstat (limited to 'etc/etc.x68k')
-rw-r--r-- | etc/etc.x68k/MAKEDEV | 10 |
1 files changed, 6 insertions, 4 deletions
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 |