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 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'cron-sh') 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 -- cgit v1.2.1