I followed the exact given solution but the question test returns an issue

Hi,
In CKS Lab - Run CIS Benchmark Assessment tool on Ubuntu 7th question, I’m supposed to follow the instructions in order to fix this issue: “1.7.2 Ensure local login warning banner is configured properly”, even after doing the exact proposed solution - the test returns an error.

Screenshots are attached.


Please advise,
Itai

Hi!

You need to change /etc/issue instead of /etc/issue.net

  • /etc/issue: is used to display login messages to local users
  • /etc/issue.net: same, but for remote users (e.g. SSH)

Regards,
Luca

Luca is correct: