Codebase list firejail / 234d015b-414b-471e-a9e3-5ecff719a4de/main mketc.sh
234d015b-414b-471e-a9e3-5ecff719a4de/main

Tree @234d015b-414b-471e-a9e3-5ecff719a4de/main (Download .tar.gz)

mketc.sh @234d015b-414b-471e-a9e3-5ecff719a4de/mainraw · history · blame

#!/bin/sh
# This file is part of Firejail project
# Copyright (C) 2014-2021 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"