aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSARL ENR 68 <david@david.david>2015-08-28 20:03:09 +0200
committerSARL ENR 68 <david@david.david>2015-08-28 20:03:09 +0200
commitd12860fd59555360c5bec904112af054da2e9f76 (patch)
treeba1577a57ac14dad1712403fc21e9b8d3837316a
parent73a2738eba0625fa9befcaeed690e035b12ab91e (diff)
downloadmsec-d12860fd59555360c5bec904112af054da2e9f76.tar
msec-d12860fd59555360c5bec904112af054da2e9f76.tar.gz
msec-d12860fd59555360c5bec904112af054da2e9f76.tar.bz2
msec-d12860fd59555360c5bec904112af054da2e9f76.tar.xz
msec-d12860fd59555360c5bec904112af054da2e9f76.zip
Adapt shebang (mga#16524)
- by papoteur: https://bugs.mageia.org/attachment.cgi?id=6899
-rwxr-xr-xsrc/msec/compile.py2
-rwxr-xr-xsrc/msec/config.py2
-rwxr-xr-xsrc/msec/help_draksec.py2
-rwxr-xr-xsrc/msec/libmsec.py2
-rwxr-xr-xsrc/msec/man.py2
-rwxr-xr-xsrc/msec/msec.py2
-rwxr-xr-xsrc/msec/msecgui.py2
-rwxr-xr-xsrc/msec/msecperms.py2
-rwxr-xr-xsrc/msec/plugins/audit.py2
-rwxr-xr-xsrc/msec/plugins/log.py2
-rwxr-xr-xsrc/msec/plugins/msec.py2
-rwxr-xr-xsrc/msec/plugins/network.py2
-rwxr-xr-xsrc/msec/plugins/pam.py2
-rwxr-xr-xsrc/msec/plugins/sectool.py2
-rwxr-xr-xsrc/msec/plugins/sudo.py2
-rwxr-xr-xsrc/msec/tools.py2
16 files changed, 16 insertions, 16 deletions
diff --git a/src/msec/compile.py b/src/msec/compile.py
index 150a180..2983271 100755
--- a/src/msec/compile.py
+++ b/src/msec/compile.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -O
+#!/usr/bin/python3 -O
#############################################################################
# File : compile.py
# Package : rpmlint
diff --git a/src/msec/config.py b/src/msec/config.py
index 8caacfc..6242fc7 100755
--- a/src/msec/config.py
+++ b/src/msec/config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -O
+#!/usr/bin/python3 -O
"""This is the configuration file for msec.
The following variables are defined here:
SECURITY_LEVELS: list of supported security levels
diff --git a/src/msec/help_draksec.py b/src/msec/help_draksec.py
index f4536a3..6863038 100755
--- a/src/msec/help_draksec.py
+++ b/src/msec/help_draksec.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
#
# This script creates DrakSec help strings from libmsec code docstrings.
#
diff --git a/src/msec/libmsec.py b/src/msec/libmsec.py
index 79a1ff7..17e8dd2 100755
--- a/src/msec/libmsec.py
+++ b/src/msec/libmsec.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -O
+#!/usr/bin/python3 -O
"""This is the main msec module, responsible for all msec operations.
The following classes are defined here:
diff --git a/src/msec/man.py b/src/msec/man.py
index a937b07..d3983b5 100755
--- a/src/msec/man.py
+++ b/src/msec/man.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
#---------------------------------------------------------------
# Project : Mandriva Linux
# Module : share
diff --git a/src/msec/msec.py b/src/msec/msec.py
index f98a793..a44267c 100755
--- a/src/msec/msec.py
+++ b/src/msec/msec.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -O
+#!/usr/bin/python3 -O
"""This is the main msec module.
It checks/sets the security levels, configures security variables,
and works as a frontend to libmsec.
diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py
index 765681d..0d64dea 100755
--- a/src/msec/msecgui.py
+++ b/src/msec/msecgui.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -O
+#!/usr/bin/python3 -O
"""
This is graphical frontend to msec.
"""
diff --git a/src/msec/msecperms.py b/src/msec/msecperms.py
index 73a3533..df3cdb1 100755
--- a/src/msec/msecperms.py
+++ b/src/msec/msecperms.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -O
+#!/usr/bin/python3 -O
"""This file is responsible for permissions checking and
(optionally) enforcing.
"""
diff --git a/src/msec/plugins/audit.py b/src/msec/plugins/audit.py
index cbc82cc..dc5e6e0 100755
--- a/src/msec/plugins/audit.py
+++ b/src/msec/plugins/audit.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
"""Msec plugin for auditing checks"""
# main plugin class name
diff --git a/src/msec/plugins/log.py b/src/msec/plugins/log.py
index 06d210f..3284cbc 100755
--- a/src/msec/plugins/log.py
+++ b/src/msec/plugins/log.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
"""Msec plugin for log file handling"""
# main plugin class name
diff --git a/src/msec/plugins/msec.py b/src/msec/plugins/msec.py
index 554574c..59366a4 100755
--- a/src/msec/plugins/msec.py
+++ b/src/msec/plugins/msec.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
"""Msec plugin for enforcing local security settings"""
# main plugin class name
diff --git a/src/msec/plugins/network.py b/src/msec/plugins/network.py
index 307ea87..a4f5400 100755
--- a/src/msec/plugins/network.py
+++ b/src/msec/plugins/network.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
"""Msec plugin for enforcing network security settings"""
# main plugin class name
diff --git a/src/msec/plugins/pam.py b/src/msec/plugins/pam.py
index c534d5a..776ad70 100755
--- a/src/msec/plugins/pam.py
+++ b/src/msec/plugins/pam.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
"""Msec plugin for enforcing pam-related settings"""
# main plugin class name
diff --git a/src/msec/plugins/sectool.py b/src/msec/plugins/sectool.py
index 62dc341..a04dc51 100755
--- a/src/msec/plugins/sectool.py
+++ b/src/msec/plugins/sectool.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
"""Msec plugin for running sectool tests"""
# main plugin class name
diff --git a/src/msec/plugins/sudo.py b/src/msec/plugins/sudo.py
index 6ab68d8..2df7fbd 100755
--- a/src/msec/plugins/sudo.py
+++ b/src/msec/plugins/sudo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
"""Msec plugin for sudo"""
# main plugin class name
diff --git a/src/msec/tools.py b/src/msec/tools.py
index 61e3846..28c303b 100755
--- a/src/msec/tools.py
+++ b/src/msec/tools.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
#
# msec: helper tools
#