Merge pull request #567 from rajasec/tty-remove
Removing tty0 tty1 from allowed devices
This commit is contained in:
commit
e28cfafa6d
16
utils.go
16
utils.go
|
@ -92,22 +92,6 @@ var allowedDevices = []*configs.Device{
|
|||
Permissions: "rwm",
|
||||
Allow: true,
|
||||
},
|
||||
{
|
||||
Path: "/dev/tty0",
|
||||
Type: 'c',
|
||||
Major: 4,
|
||||
Minor: 0,
|
||||
Permissions: "rwm",
|
||||
Allow: true,
|
||||
},
|
||||
{
|
||||
Path: "/dev/tty1",
|
||||
Type: 'c',
|
||||
Major: 4,
|
||||
Minor: 1,
|
||||
Permissions: "rwm",
|
||||
Allow: true,
|
||||
},
|
||||
// /dev/pts/ - pts namespaces are "coming soon"
|
||||
{
|
||||
Path: "",
|
||||
|
|
Loading…
Reference in New Issue