(Optional) Modifying the /etc/motd Configuration Item

Scenario

To improve security, you can modify the motd configuration item to remind users to change passwords at their first login to a BMS.

Procedure

  1. Create or open /etc/motd using the vi editor.

    vi /etc/motd

    Note

    /etc/motd is used to store prompts displayed after you log in to Linux OSs.

  2. Press I to enter editing mode and add the content to be displayed at the end of the file.

  3. Press Esc and enter :wq to save and exit the file.