SV-230349r627750_rule
V-230349
SRG-OS-000028-GPOS-00009
RHEL-08-020041
CAT II
10
Configure the operating system to initialize the tmux terminal multiplexer as each shell is called by adding the following line to the end of the "/etc/bashrc" configuration file:
[ -n "$PS1" -a -z "$TMUX" ] && exec tmux
This setting will take effect at next logon.
Verify the operating system shell initialization file is configured to start each shell with the tmux terminal multiplexer with the following command:
$ sudo grep -i tmux /etc/bashrc
[ -n "$PS1" -a -z "$TMUX" ] && exec tmux
If "tmux" is not configured as the example above, is commented out, or missing from the "/etc/bashrc" initialization file, this is a finding.
V-230349
False
RHEL-08-020041
Verify the operating system shell initialization file is configured to start each shell with the tmux terminal multiplexer with the following command:
$ sudo grep -i tmux /etc/bashrc
[ -n "$PS1" -a -z "$TMUX" ] && exec tmux
If "tmux" is not configured as the example above, is commented out, or missing from the "/etc/bashrc" initialization file, this is a finding.
M
2921