Rev 2887 | Rev 2922 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log
Rev 2887 | Rev 2888 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #!/bin/bash |
1 | #!/bin/bash |
2 | # $Id: alcasar.sh |
2 | # $Id: alcasar.sh 2888 2020-11-29 18:13: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 876... | Line 876... | ||
876 | $SED "s?^After=.*?After=network.target remote-fs.target nss-lookup.target chilli.service?g" /lib/systemd/system/lighttpd.service |
876 | $SED "s?^After=.*?After=network.target remote-fs.target nss-lookup.target chilli.service?g" /lib/systemd/system/lighttpd.service |
877 | # Log file for ACC access imputability |
877 | # Log file for ACC access imputability |
878 | [ -e $DIR_SAVE/security/acc_access.log ] || touch $DIR_SAVE/security/acc_access.log |
878 | [ -e $DIR_SAVE/security/acc_access.log ] || touch $DIR_SAVE/security/acc_access.log |
879 | chown root:apache $DIR_SAVE/security/acc_access.log |
879 | chown root:apache $DIR_SAVE/security/acc_access.log |
880 | chmod 664 $DIR_SAVE/security/acc_access.log |
880 | chmod 664 $DIR_SAVE/security/acc_access.log |
- | 881 | # Copy IEEE-MAC-manuf list (origin from sanitized nmac file : see linuxnet.ca) |
|
- | 882 | cp $DIR_CONF/nmap-mac-prefixes /usr/local/share/ |
|
881 | } # End of ACC() |
883 | } # End of ACC() |
882 | 884 | ||
883 | ############################################################# |
885 | ############################################################# |
884 | ## Function "time_server" ## |
886 | ## Function "time_server" ## |
885 | ## - Configuring NTP server ## |
887 | ## - Configuring NTP server ## |