PrepAway - Latest Free Exam Questions & Answers

What file is displayed BEFORE users log in to the machine locally?

What file is displayed BEFORE users log in to the machine locally?

PrepAway - Latest Free Exam Questions & Answers

A.
/etc/issue

B.
/etc/issue.net

C.
/etc/motd

D.
/etc/local.banner

Explanation:
From the man pages:
The file /etc/issue is a text file which contains a message or system identification to be printed before the login prompt. It may contain various @char and char sequences, if supported by the getty-type program employed on the system.

B) is used to display messages for users who log in to the machine remotely.
C) The contents of /etc/motd are displayed by login(1) after a successful login but just before it executes the login shell.
D) does not exist


Leave a Reply