nerdexam
CompTIA

XK0-005 · Question #162

A security administrator wants to display a warning banner before a user logs in. Which of the following files must be edited to make this happen?

The correct answer is B. /etc/issue. /etc/issue file content is displayed before the login prompt, and/etc/ MOTD content appears after the user successfully logs on to the system. https://topic.alibabacloud.com/a/the-difference-betweenetcmotd-andetcissue_8_8_31258864.html

System Management

Question

A security administrator wants to display a warning banner before a user logs in. Which of the following files must be edited to make this happen?

Options

  • A/etc/services
  • B/etc/issue
  • C/etc/hosts
  • D/etc/motd

How the community answered

(16 responses)
  • B
    94% (15)
  • C
    6% (1)

Explanation

/etc/issue file content is displayed before the login prompt, and/etc/ MOTD content appears after the user successfully logs on to the system. https://topic.alibabacloud.com/a/the-difference-betweenetcmotd-andetcissue_8_8_31258864.html

Topics

#Login Banners#System Files#Linux Administration#Security Configuration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice