Help Center/ Bare Metal Server/ Private Image Creation Guide/ Linux/ Performing Security Configuration/ (Optional) Modifying the /etc/motd Configuration Item
Updated on 2022-09-09 GMT+08:00
(Optional) Modifying the /etc/motd Configuration Item
Scenario
You can modify the motd configuration item to remind users of changing passwords at their first login to BMSs to improve security.
Procedure
- Create or open /etc/motd using the vi editor.
vi /etc/motd
/etc/motd is used to store prompts displayed after you log in to Linux OSs.
- Press I to enter editing mode and add the content to be displayed at the end of the file.
- Press Esc and enter :wq to save and exit the file.
Parent topic: Performing Security Configuration
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.