add warning about os security enhancements

This commit is contained in:
Dan Guido 2017-02-20 03:28:32 +01:00 committed by GitHub
parent aca036142f
commit 23d69da528

2
algo
View file

@ -39,7 +39,7 @@ ssh_tunneling_enabled=${ssh_tunneling_enabled:-n}
if [[ "$ssh_tunneling_enabled" =~ ^(y|Y)$ ]]; then ROLES+=" ssh_tunneling"; fi if [[ "$ssh_tunneling_enabled" =~ ^(y|Y)$ ]]; then ROLES+=" ssh_tunneling"; fi
read -p " read -p "
Do you want to apply operating system security enhancements on the server? Do you want to apply operating system security enhancements on the server? (warning: replaces your sshd_config)
[y/N]: " -r security_enabled [y/N]: " -r security_enabled
security_enabled=${security_enabled:-n} security_enabled=${security_enabled:-n}
if [[ "$security_enabled" =~ ^(y|Y)$ ]]; then ROLES+=" security"; fi if [[ "$security_enabled" =~ ^(y|Y)$ ]]; then ROLES+=" security"; fi