mirror of https://github.com/CISOfy/lynis.git
[SSH-7408] added forced-commands-only
This commit is contained in:
parent
157c23e892
commit
79e5b52419
|
@ -143,7 +143,7 @@
|
|||
LogLevel:VERBOSE,INFO,:=\
|
||||
MaxAuthTries:3,6,999:<\
|
||||
MaxSessions:2,4,8:<\
|
||||
PermitRootLogin:(NO|PROHIBIT-PASSWORD|WITHOUT-PASSWORD),,YES:=\
|
||||
PermitRootLogin:(FORCED-COMMANDS-ONLY|NO|PROHIBIT-PASSWORD|WITHOUT-PASSWORD),,YES:=\
|
||||
PermitUserEnvironment:NO,,YES:=\
|
||||
PermitTunnel:NO,,YES:=\
|
||||
Port:,,22:!\
|
||||
|
|
Loading…
Reference in New Issue