Ubuntu1804-CIS
Ubuntu1804-CIS copied to clipboard
The NX||XD eventually fails on an active system
https://github.com/florianutz/Ubuntu1804-CIS/blob/dc95662250817f1fb6fef05a9361ca4cc0094cc0/tasks/section1.yml#L677
dmesg
will eventually roll over and this check will fail. Using journalctl -b
is slowed but will work for longer. Example from a rather vanilla install of 18.04 server:
$ dmesg | wc -l
4070
$ journalctl -b | wc -l
549487
According to official CIS Benchmark documents the command should be
journalctl | grep 'protection: active'