18 lines
400 B
Bash
18 lines
400 B
Bash
#!/bin/sh
|
|
# Pour la configuration Hardening
|
|
|
|
GREEN='\033[0;32m'
|
|
YELLOW='\033[1;33m'
|
|
NOCOLOR='\033[0m'
|
|
|
|
echo "${YELLOW} ** ${NOCOLOR} Début du script : 12-Hardening"
|
|
echo "${NOCOLOR}"
|
|
|
|
cp 12-hardening/sysctl.conf /etc/sysctl.conf >> /dev/null
|
|
|
|
sysctl -p
|
|
|
|
cp 12-hardening/limits.conf /etc/security/limits.conf >> /dev/null
|
|
|
|
echo "${YELLOW} ** ${NOCOLOR} Fin du script : 12-Hardening"
|
|
echo "${NOCOLOR}" |