Questions tagged [motd]
A "message of the day" (motd) is a greeting message displayed after a successful login, just before a login shell is executed.
65 questions
0 votes
0 answers
166 views
Motd ssh server with ascii image with 24 bit color (truecolor)
I cannot visualise an ascii art image in 24 bit colors when I log into my server via ssh. I have created a dynamic motd for my ssh server. Specifically in the file /etc/update-motd.d/10-logo there is ...
0 votes
1 answer
820 views
alpine update motd on login
Is there any way to update the /etc/motd file on login? The /etc/profile and /etc/profile.d/*.sh scripts are executed after the motd is already displayed on login so these methods don't work. I want ...
0 votes
1 answer
203 views
How can root get access to SSH_TTY
I think that SSH_TTY is an environment variable set by ssh that holds the device node of the current virtual terminal; e.g. /dev/pts/0, /dev/pts/1 , etc. I know that when I'm logged in to an SSH ...
1 vote
1 answer
142 views
debian bookworm how to expand displayed apt reason for holding package
Because of a kernelbug the debian people (can cause dataloss on ext4 filesystem) blocks kernel update (403 error forbidden) bugreport I set kernel packages on hold so it is not blocking the upgrade ...
1 vote
2 answers
393 views
script in /etc/update-motd.d/ not working
I have created a script /etc/update-motd.d/foo #!/bin/sh echo aaa exit 0 I would like this script to be executed on ssh login, and display the output. I have the folowing lines in my /etc/pam.d/sshd: ...
2 votes
1 answer
5k views
Re-Display MOTD in Linux/Deblin system that's already logged in
I am looking to re-display the MOFD in a Linux/Deblin system that is already logged in. I have already edited the etc\motd file and this does display my custom motd output in the terminal when I ssh ...
1 vote
1 answer
189 views
Where are MOTD descriptions stored?
I've created a custom MOTD (Message of the Day) and it works fine, but I noticed that it doesn't have a description in the Armbian Config utility (see screenshot). I checked the other MOTD files that ...
1 vote
1 answer
4k views
Why my /etc/motd doesn't show the welcome message at login?
I have a Debian/Linux virtual machine in VirtualBox. # uname -a Linux debian 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux # vi /etc/motd ########################## Hi, ...