SV-230348r627750_rule
V-230348
SRG-OS-000028-GPOS-00009
RHEL-08-020040
CAT II
10
Configure the operating system to enable a user to initiate a session lock via tmux.
Install the "tmux" package, if it is not already installed, by running the following command:
$ sudo yum install tmux
Once installed, create a global configuration file "/etc/tmux.conf" and add the following line:
set -g lock-command vlock
Verify the operating system enables the user to initiate a session lock on command.
Verify RHEL 8 has the "tmux" package installed, by running the following command:
$ sudo yum list installed tmux
tmux.x86.64 2.7-1.el8 @repository
If "tmux" is not installed, this is a finding.
Next verify that the lock-command is set in the global settings of tmux with the following command:
$ sudo grep -i lock-command /etc/tmux.conf
set -g lock-command vlock
If the "lock-command" is not set in the global settings to call "vlock", this is a finding.
V-230348
False
RHEL-08-020040
Verify the operating system enables the user to initiate a session lock on command.
Verify RHEL 8 has the "tmux" package installed, by running the following command:
$ sudo yum list installed tmux
tmux.x86.64 2.7-1.el8 @repository
If "tmux" is not installed, this is a finding.
Next verify that the lock-command is set in the global settings of tmux with the following command:
$ sudo grep -i lock-command /etc/tmux.conf
set -g lock-command vlock
If the "lock-command" is not set in the global settings to call "vlock", this is a finding.
M
2921