diff --git a/install.sh b/install.sh index 209a177..ac67b52 100755 --- a/install.sh +++ b/install.sh @@ -47,12 +47,13 @@ echo "Sécurisation DEFCON SUDOERS FAIL2BAN" ## XBIAN fail2ban ERROR correction ## #[....] Starting authentication failure monitor: fail2ban No file(s) found for glob /var/log/auth.log [[ "$USER" == "xbian" ]] && sudo sed -i "s/auth.log/faillog/g" /etc/fail2ban/paths-common.conf -[[ "$USER" == "xbian" ]] && echo "xbian ALL=(ALL) NOPASSWD:ALL" | (sudo su -c 'EDITOR="tee" visudo -f /etc/sudoers.d/astroport') +# NODE activates fail2ban IN zen/ipfs_SWARM_refresh.sh ### MODIFIYING /etc/sudoers ### -# DEFCON LEVEL < 5 -# echo "$USER ALL=(ALL) NOPASSWD:ALL" | sudo EDITOR='tee -a' visudo -# NODE activates fail2ban IN zen/ipfs_SWARM_refresh.sh +[[ "$USER" == "xbian" ]] && echo "xbian ALL=(ALL) NOPASSWD:ALL" | (sudo su -c 'EDITOR="tee" visudo -f /etc/sudoers.d/astroport') + +# PERSONNAL DEFCON LEVEL +# cp ~/.zen/astrXbian/DEFCON ~/.zen/ if [[ "$USER" == "xbian" ]] then