From 5f877b920e55788e7f68fb5724f75724585cd6af Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sun, 16 Feb 2020 13:35:44 +0100 Subject: Deal with mangling shebangs warnings on shell scripts --- cron-sh/functions.sh | 2 +- cron-sh/promisc_check.sh | 2 +- cron-sh/scripts/01_files.sh | 2 +- cron-sh/scripts/02_network.sh | 2 +- cron-sh/scripts/03_rpm.sh | 2 +- cron-sh/scripts/04_rootkit.sh | 2 +- cron-sh/scripts/05_access.sh | 2 +- cron-sh/scripts/06_sectool.sh | 2 +- cron-sh/security.sh | 2 +- init-sh/upgrade.sh | 2 +- src/msec/msec | 2 +- src/msec/msecgui | 2 +- src/msec/msecperms | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cron-sh/functions.sh b/cron-sh/functions.sh index a7fe6cf..90b15be 100755 --- a/cron-sh/functions.sh +++ b/cron-sh/functions.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # msec: shared function if [[ -f /etc/profile.d/10lang.sh ]]; then diff --git a/cron-sh/promisc_check.sh b/cron-sh/promisc_check.sh index d9a2c6b..9c9f2aa 100755 --- a/cron-sh/promisc_check.sh +++ b/cron-sh/promisc_check.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # msec: this checks if the network is in promiscuous mode . /usr/share/msec/functions.sh diff --git a/cron-sh/scripts/01_files.sh b/cron-sh/scripts/01_files.sh index c7bb8ad..d71ae44 100755 --- a/cron-sh/scripts/01_files.sh +++ b/cron-sh/scripts/01_files.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # msec: security check for suid_root binaries # check if we are run from main script diff --git a/cron-sh/scripts/02_network.sh b/cron-sh/scripts/02_network.sh index 27c60c4..21e395f 100755 --- a/cron-sh/scripts/02_network.sh +++ b/cron-sh/scripts/02_network.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # msec: network security checks # check if we are run from main script diff --git a/cron-sh/scripts/03_rpm.sh b/cron-sh/scripts/03_rpm.sh index cf84d6e..7bb5e97 100755 --- a/cron-sh/scripts/03_rpm.sh +++ b/cron-sh/scripts/03_rpm.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # msec: rpm security check # check if we are run from main script diff --git a/cron-sh/scripts/04_rootkit.sh b/cron-sh/scripts/04_rootkit.sh index 3c98f6c..4b18541 100755 --- a/cron-sh/scripts/04_rootkit.sh +++ b/cron-sh/scripts/04_rootkit.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # msec: rootkit security check # check if we are run from main script diff --git a/cron-sh/scripts/05_access.sh b/cron-sh/scripts/05_access.sh index 2c77b06..19efc2b 100755 --- a/cron-sh/scripts/05_access.sh +++ b/cron-sh/scripts/05_access.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # msec: system access # check if we are run from main script diff --git a/cron-sh/scripts/06_sectool.sh b/cron-sh/scripts/06_sectool.sh index 759e330..de4c8fc 100755 --- a/cron-sh/scripts/06_sectool.sh +++ b/cron-sh/scripts/06_sectool.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # msec: sectool check # check if we are run from main script diff --git a/cron-sh/security.sh b/cron-sh/security.sh index 3021a78..016625b 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # msec: this is the main security auditing script # it runs all executable scripts from /usr/share/msec/scripts # which should be named NN_script_name.sh, where NN represents diff --git a/init-sh/upgrade.sh b/init-sh/upgrade.sh index ceacb24..6b0feef 100755 --- a/init-sh/upgrade.sh +++ b/init-sh/upgrade.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/bash # # This script upgrades msec configuration files from previous versions # to the up-to-date format diff --git a/src/msec/msec b/src/msec/msec index c90bd82..83f22e4 100755 --- a/src/msec/msec +++ b/src/msec/msec @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh # # Wrapper for msec.py # diff --git a/src/msec/msecgui b/src/msec/msecgui index b7c9162..72d21f8 100755 --- a/src/msec/msecgui +++ b/src/msec/msecgui @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh # # Wrapper for msecgui # diff --git a/src/msec/msecperms b/src/msec/msecperms index c8db15f..ab80b74 100755 --- a/src/msec/msecperms +++ b/src/msec/msecperms @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh # # Wrapper for msecperms.py # -- cgit v1.2.1