aboutsummaryrefslogblamecommitdiffstats
path: root/mketc.sh
blob: 17e04d50f9f383d0b4b5aab644bfd1021f4a8972 (plain) (tree)
1
2
3
4
5
6
7
8
9
         
                                       
                                          

                



                                                                                

                             
                           
                        

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