Skip to content

Commit 7ac7099

Browse files
committed
feat: disable TMOUT for development environments
To avoid disruption to development work, disable the shell timeout for inactivity in the CIS hardening configuration for the `ci-aio` and `ci-multinode` environments.
1 parent e814461 commit 7ac7099

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
##############################################################################
3+
# Rocky 9 CIS Hardening Configuration
4+
5+
# Disable shell timeout for inactivity which can be disruptive to
6+
# development work.
7+
rhel9cis_rule_5_4_3_2: false
8+
9+
##############################################################################
10+
# Ubuntu Jammy CIS Hardening Configuration
11+
12+
# Disable shell timeout for inactivity which can be disruptive to
13+
# development work.
14+
ubtu22cis_rule_5_4_3_2: false
15+
16+
##############################################################################
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
##############################################################################
3+
# Rocky 9 CIS Hardening Configuration
4+
5+
# Disable shell timeout for inactivity which can be disruptive to
6+
# development work.
7+
rhel9cis_rule_5_4_3_2: false
8+
9+
##############################################################################
10+
# Ubuntu Jammy CIS Hardening Configuration
11+
12+
# Disable shell timeout for inactivity which can be disruptive to
13+
# development work.
14+
ubtu22cis_rule_5_4_3_2: false
15+
16+
##############################################################################
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
features:
3+
- |
4+
Disable the CIS hardening rule ``*_rule_5_4_3_2`` to prevent ``TMOUT``
5+
from being applied which can disrupt a development environment as it
6+
closes ``TMUX`` panes and servers and may close active ssh session.

0 commit comments

Comments
 (0)