Subversion Repositories ALCASAR

Rev

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

Rev 2399 Rev 2409
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2399 2017-08-27 14:06:54Z tom.houdayer $ 
2
#  $Id: alcasar.sh 2409 2017-09-14 18:52:54Z tom.houdayer $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 2070... Line 2070...
2070
	$SED "s?^#ListenAddress 0\.0\.0\.0.*?ListenAddress 0\.0\.0\.0?g" /etc/ssh/sshd_config
2070
	$SED "s?^#ListenAddress 0\.0\.0\.0.*?ListenAddress 0\.0\.0\.0?g" /etc/ssh/sshd_config
2071
# sshd authorized certificate for root login
2071
# sshd authorized certificate for root login
2072
	$SED "s?^PermitRootLogin.*?PermitRootLogin without-password?g" /etc/ssh/sshd_config
2072
	$SED "s?^PermitRootLogin.*?PermitRootLogin without-password?g" /etc/ssh/sshd_config
2073
# ALCASAR conf file
2073
# ALCASAR conf file
2074
	echo "HTTPS_LOGIN=on" >> $CONF_FILE
2074
	echo "HTTPS_LOGIN=on" >> $CONF_FILE
-
 
2075
	echo "HTTPS_CHILLI=off" >> $CONF_FILE
2075
	echo "SSH=on" >> $CONF_FILE
2076
	echo "SSH=on" >> $CONF_FILE
2076
	echo "SSH_ADMIN_FROM=0.0.0.0/0.0.0.0" >> $CONF_FILE
2077
	echo "SSH_ADMIN_FROM=0.0.0.0/0.0.0.0" >> $CONF_FILE
2077
	echo "LDAP=off" >> $CONF_FILE
2078
	echo "LDAP=off" >> $CONF_FILE
2078
	echo "LDAP_IP=0.0.0.0/0.0.0.0" >> $CONF_FILE
2079
	echo "LDAP_IP=0.0.0.0/0.0.0.0" >> $CONF_FILE
2079
	echo "MULTIWAN=off" >> $CONF_FILE
2080
	echo "MULTIWAN=off" >> $CONF_FILE