Subversion Repositories ALCASAR

Rev

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

Rev 2801 Rev 2802
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2801 2020-04-07 17:31:42Z rexy $
2
#  $Id: alcasar.sh 2802 2020-04-07 21:39:50Z 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 764... Line 764...
764
CA()
764
CA()
765
{
765
{
766
	$DIR_DEST_BIN/alcasar-CA.sh
766
	$DIR_DEST_BIN/alcasar-CA.sh
767
	chown root:apache /etc/pki/CA; chmod 750 /etc/pki/CA
767
	chown root:apache /etc/pki/CA; chmod 750 /etc/pki/CA
768
	chmod 640 /etc/pki/CA/*
768
	chmod 640 /etc/pki/CA/*
769
    chown root:root /etc/pki/CA/private, chmod 700 /etc/pki/CA/private
769
    chown root:root /etc/pki/CA/private; chmod 700 /etc/pki/CA/private
770
    chmod 600 /etc/pki/CA/private/*
770
    chmod 600 /etc/pki/CA/private/*
771
    chown -R root:apache /etc/pki/tls/private; chmod 750 /etc/pki/tls/private
771
    chown -R root:apache /etc/pki/tls/private; chmod 750 /etc/pki/tls/private
772
    chmod 640 /etc/pki/tls/private/*
772
    chmod 640 /etc/pki/tls/private/*
773
} # End of CA()
773
} # End of CA()
774
 
774