mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 07:11:05 +01:00
Group of usb and usb\d+ is now operator and permissions are 0660.
Might need to be revisted to make it 0640 and limit the access to usb and usb\d+ (in sys/dev/usb/usb.c) to 'retrieve info' only for operator.
This commit is contained in:
parent
ab3aa81372
commit
a043eecf95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56369
@ -883,12 +883,14 @@ pps*)
|
||||
;;
|
||||
|
||||
usb)
|
||||
mknod usb$unit c 108 255
|
||||
mknod usb$unit c 108 255 root:operator
|
||||
chmod 0660 usb$unit
|
||||
;;
|
||||
|
||||
usb*)
|
||||
unit=`expr $i : 'usb\(.*\)'`
|
||||
mknod usb$unit c 108 $unit
|
||||
mknod usb$unit c 108 $unit root:operator
|
||||
chmod 0660 usb$unit
|
||||
;;
|
||||
|
||||
ums*)
|
||||
|
Loading…
Reference in New Issue
Block a user