Subversion Repositories ALCASAR

Rev

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

Rev 2809 Rev 2811
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2809 2020-04-12 17:35:46Z rexy $
2
#  $Id: alcasar.sh 2811 2020-04-15 22:07:11Z 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 758... Line 758...
758
CA()
758
CA()
759
{
759
{
760
	$DIR_DEST_BIN/alcasar-CA.sh
760
	$DIR_DEST_BIN/alcasar-CA.sh
761
	chown root:apache /etc/pki/CA; chmod 750 /etc/pki/CA
761
	chown root:apache /etc/pki/CA; chmod 750 /etc/pki/CA
762
	chmod 640 /etc/pki/CA/*
762
	chmod 640 /etc/pki/CA/*
763
    chown root:root /etc/pki/CA/private; chmod 700 /etc/pki/CA/private
763
	chown root:root /etc/pki/CA/private; chmod 700 /etc/pki/CA/private
764
    chmod 600 /etc/pki/CA/private/*
764
	chmod 600 /etc/pki/CA/private/*
765
    chown -R root:apache /etc/pki/tls/private; chmod 750 /etc/pki/tls/private
765
	chown -R root:apache /etc/pki/tls/private; chmod 750 /etc/pki/tls/private
766
    chmod 640 /etc/pki/tls/private/*
766
	chmod 640 /etc/pki/tls/private/*
767
} # End of CA()
767
} # End of CA()
768
 
768
 
769
###################################################
769
###################################################
770
##                  Function "ACC"               ##
770
##                  Function "ACC"               ##
771
## - copy ALCASAR Control Center (ACC) files     ##
771
## - copy ALCASAR Control Center (ACC) files     ##