Subversion Repositories ALCASAR

Rev

Rev 2826 | Rev 2831 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2826 Rev 2829
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2826 2020-06-01 20:44:27Z rexy $
2
#  $Id: alcasar.sh 2829 2020-06-01 21:56:41Z rexy $
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
#  team@alcasar.net
7
#  team@alcasar.net
Line 802... Line 802...
802
	chown -R apache:apache /etc/freeradius-web/
802
	chown -R apache:apache /etc/freeradius-web/
803
# create the log & backup structure :
803
# create the log & backup structure :
804
# - base = users database
804
# - base = users database
805
# - archive = tarball of "base + http firewall + netflow"
805
# - archive = tarball of "base + http firewall + netflow"
806
# - security = watchdog log
806
# - security = watchdog log
-
 
807
# - conf_file = archive conf file (usefull in updating process)
807
	for i in base archive security activity_report;
808
	for i in base archive security activity_report conf_file;
808
	do
809
	do
809
		[ -d $DIR_SAVE/$i ] || mkdir -p $DIR_SAVE/$i
810
		[ -d $DIR_SAVE/$i ] || mkdir -p $DIR_SAVE/$i
810
	done
811
	done
811
	chown -R root:apache $DIR_SAVE
812
	chown -R root:apache $DIR_SAVE
812
# Configuring & securing php
813
# Configuring & securing php