On this page
Help Center/ Bare Metal Server/ Private Image Creation Guide/ Linux/ Performing Security Configuration/ (Optional) Modifying the /etc/motd Configuration Item

(Optional) Modifying the /etc/motd Configuration Item

Updated on 2022-09-09 GMT+08:00

Scenario

You can modify the motd configuration item to remind users of changing passwords at their first login to BMSs to improve security.

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.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback