IBM Support

Linux MOTD

Question & Answer


Question

How do I define a message to appear immediately after every linux login

Answer

As the root user, edit the /etc/motd file and include any messages that you want to appear after initial log in. The motd (Message of the Day) file is displayed after initial log in.

For more details on motd, from the Linux command line run:

    man motd

[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

NZ953497

Document Information

Modified date:
17 October 2019

UID

swg21571838