PrepAway - Latest Free Exam Questions & Answers

what file must be modified to give these notices?

In order to provide notices and information to users when they log in to a server, what file must be
modified to give these notices? (Please provide the file with full path information)

PrepAway - Latest Free Exam Questions & Answers

Answer: /etc/motd

Explanation:
From the man pages:
The file /etc/motd is normally displayed by login(1) after a user has logged in but before the shell is
run. It is generally used for important system-wide announcements. Individual users may suppress
the display of this file by creating a file named “.hushlogin” in their home directories.


Leave a Reply