Every time you open a new shell terminal, no matter if remotely or locally, you see a bunch of lines over the starting prompt. In Debian, those lines are stored in the /etc/motd
file and can be modified or completely replaced by any other text.
Just make a backup of that file (as a .original
version) before editing it, and then modify in any way you want.
$ cd /etc
$ sudo cp motd motd.original
$ sudo vim motd
BEWARE!
In thesshd
configuration there's aPrintMotd
set tono
. Don't change it toyes
or you'll see themotd
content printed twice.
- Debian wiki.
motd
. - Customize your MOTD login message in Debian and Ubuntu.
- Debian Buster Dynamic MOTD.
- Create a Custom MOTD or Login Banner in Linux.
- ASCII generator
<< Previous (G902. Appendix 02) | +Table Of Contents+ | Next (G904. Appendix 04) >>