mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
Make dialout devices owned by uucp.dialer with 660 mode
This commit is contained in:
parent
28c0b6c0e5
commit
3c7d122598
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1478
@ -76,7 +76,7 @@
|
||||
# snd* various sound cards
|
||||
# pcaudio PCM audio driver
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.31 1994/04/03 14:24:52 ache Exp $
|
||||
# $Id: MAKEDEV,v 1.32 1994/04/21 14:08:27 sos Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||
@ -293,7 +293,6 @@ com*)
|
||||
unit=`expr $i : '...\(.*\)'`
|
||||
rm -f tty0$unit
|
||||
mknod tty0$unit c 8 $unit
|
||||
chown uucp.wheel tty0$unit
|
||||
;;
|
||||
|
||||
pty*)
|
||||
@ -483,7 +482,8 @@ cua0?|cua?|ttyd?)
|
||||
esac
|
||||
mknod ttyd$unit c 28 $m
|
||||
mknod cua0$unit c 28 `expr $m + 128`
|
||||
chown uucp.wheel ttyd$unit cua0$unit
|
||||
chown uucp.dialer cua0$unit
|
||||
chmod 660 cua0$unit
|
||||
;;
|
||||
|
||||
tty0?|tty?)
|
||||
|
@ -76,7 +76,7 @@
|
||||
# snd* various sound cards
|
||||
# pcaudio PCM audio driver
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.31 1994/04/03 14:24:52 ache Exp $
|
||||
# $Id: MAKEDEV,v 1.32 1994/04/21 14:08:27 sos Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||
@ -293,7 +293,6 @@ com*)
|
||||
unit=`expr $i : '...\(.*\)'`
|
||||
rm -f tty0$unit
|
||||
mknod tty0$unit c 8 $unit
|
||||
chown uucp.wheel tty0$unit
|
||||
;;
|
||||
|
||||
pty*)
|
||||
@ -483,7 +482,8 @@ cua0?|cua?|ttyd?)
|
||||
esac
|
||||
mknod ttyd$unit c 28 $m
|
||||
mknod cua0$unit c 28 `expr $m + 128`
|
||||
chown uucp.wheel ttyd$unit cua0$unit
|
||||
chown uucp.dialer cua0$unit
|
||||
chmod 660 cua0$unit
|
||||
;;
|
||||
|
||||
tty0?|tty?)
|
||||
|
Loading…
Reference in New Issue
Block a user