Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Boratyński <kamil.boratynski@icloud.com>2015-12-06 03:00:50 +0300
committerKamil Boratyński <kamil.boratynski@icloud.com>2015-12-06 03:46:47 +0300
commit3817ffd29983cf3688b2d11fa28d058264652205 (patch)
tree16c28462c4e1123d5724de1eda8b1e6c86e613e2 /include/tests_ssh
parent5487401abade0e5fffcc606c97f97f89cdf5b166 (diff)
Improved [SSH-7408] with 'PermitUserEnvironment'.
Diffstat (limited to 'include/tests_ssh')
-rw-r--r--include/tests_ssh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tests_ssh b/include/tests_ssh
index 9e0251c9..dcf0c39b 100644
--- a/include/tests_ssh
+++ b/include/tests_ssh
@@ -116,7 +116,8 @@
Port:,,22:!\
LoginGraceTime:120,240,480:<\
MaxStartups:4,8,16:<\
- MaxSessions:2,4,8:<"
+ MaxSessions:2,4,8:<
+ PermitUserEnvironment:NO,,YES:="
for I in ${SSHOPS}; do
OPTIONNAME=`echo ${I} | cut -d ':' -f1`