Commit a1c5c2b4 authored by Valentin Samir's avatar Valentin Samir
Browse files

[firewall4] Il faut être root pour utiliser le firewall

parent 7882a046
......@@ -2,12 +2,16 @@
# -*- coding: utf-8 -*-
import sys
import os
import sys
sys.path.append('/usr/scripts/gestion')
sys.path.append('/usr/scripts/lc_ldap')
if os.getuid() != 0:
from affich_tools import coul
sys.stderr.write(coul("Il faut être root pour utiliser le firewall\n", 'gras'))
sys.exit(1)
from config import NETs, blacklist_sanctions, blacklist_sanctions_soft, mac_komaz, mac_titanic
import config.firewall
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment