mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 06:06:02 -06:00
17 lines
525 B
Bash
Executable file
17 lines
525 B
Bash
Executable file
#!/bin/sh
|
|
# This file is part of Firejail project
|
|
# Copyright (C) 2014-2023 Firejail Authors
|
|
# License GPL v2
|
|
|
|
sed -i -e '
|
|
1i# Workaround for systems where common UNIX utilities are symlinks to busybox.\
|
|
# If this is not your case you can remove --enable-busybox-workaround from\
|
|
# ./configure options, for added security.\
|
|
noblacklist \${PATH}/busybox\
|
|
noblacklist \${PATH}/crontab\
|
|
noblacklist \${PATH}/mount\
|
|
noblacklist \${PATH}/nc\
|
|
noblacklist \${PATH}/su\
|
|
noblacklist \${PATH}/sudo\
|
|
noblacklist \${PATH}/umount\
|
|
' "$1"
|