Which of the following is the correct method to configure this?

The user’ quotas on the server were reduced from 200MB to 100MB. Besides sending emails to all
users, it was requested that a message should communicate the change every time a user access the
server. Which of the following is the correct method to configure this?

The user’ quotas on the server were reduced from 200MB to 100MB. Besides sending emails to all
users, it was requested that a message should communicate the change every time a user access the
server. Which of the following is the correct method to configure this?

A.
Put the message text in the /etc/login-message file

B.
Put the message text in the /etc/motd file

C.
Put the message text in the /etc/default/login file.

D.
Put the message text in the /etc/passwd file, after all users entries.

E.
There is no way to do this because the administrator has no permission to change the
.bash_profile file for each user.

Explanation:
From the man pages
The contents of /etc/motd are displayed by login(1) after a successful login but just before it
executes the login shell.
————————
This message of course is not shown on GUIs!



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Marcus

Marcus

B.
Put the message text in the /etc/motd file