Subversion Repositories ALCASAR

Rev

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

Rev 3046 Rev 3053
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 3046 2022-07-30 22:07:33Z rexy $
2
#  $Id: alcasar.sh 3053 2022-08-09 22:44:43Z rexy $
3
 
3
 
4
# ALCASAR is a Free and open source NAC (Network Access Controler) created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
4
# ALCASAR is a Free and open source NAC (Network Access Controler) created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is based on a stripped Mageia (LSB) with the following open source softwares Coovachilli, freeradius, mariaDB, lighttpd, php, netfilter, e2guardian, ntpd, openssl, dnsmasq, unbound, gammu, clamav, Ulog, fail2ban, vnstat, wkhtml2pdf, ipt_NETFLOW, NFsen and NFdump
5
# ALCASAR is based on a stripped Mageia (LSB) with the following open source softwares Coovachilli, freeradius, mariaDB, lighttpd, php, netfilter, e2guardian, ntpd, openssl, dnsmasq, unbound, gammu, clamav, Ulog, fail2ban, vnstat, wkhtml2pdf, ipt_NETFLOW, NFsen and NFdump
6
# contact : info@alcasar.net
6
# contact : info@alcasar.net
7
 
7
 
Line 2142... Line 2142...
2142
relayhost =
2142
relayhost =
2143
myhostname = $HOSTNAME.$DOMAIN
2143
myhostname = $HOSTNAME.$DOMAIN
2144
smtp_tls_wrappermode = yes
2144
smtp_tls_wrappermode = yes
2145
EOT
2145
EOT
2146
	chown -R postfix:postfix /var/lib/postfix
2146
	chown -R postfix:postfix /var/lib/postfix
-
 
2147
	$SED "s?^inet_protocols =.*?inet_protocols = ipv4?g" /etc/postfix/main.cf
2147
} # end of mail_service
2148
} # end of mail_service
2148
 
2149
 
2149
##################################################################
2150
##################################################################
2150
##                    Fonction "post_install"                   ##
2151
##                    Fonction "post_install"                   ##
2151
## - Modifying banners (locals et ssh) & prompts                ##
2152
## - Modifying banners (locals et ssh) & prompts                ##