add PATH; improve firewall

This commit is contained in:
Christer Edwards
2019-11-25 15:38:40 -07:00
parent e4c4d0df2e
commit b5c8330502
4 changed files with 12 additions and 10 deletions

View File

@@ -28,6 +28,8 @@
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
## root check first.
bastille_root_check() {
if [ $(id -u) -ne 0 ]; then