Questions tagged [motd]
14 questions
22
votes
2 answers
SSH MOTD per user
I want to display banner (welcome message) for SSH users with a specific welcome message for each user.
user260277
- 237
- 1
- 2
- 3
18
votes
4 answers
How do I edit the SSH "last login" message?
I would like to edit the Last login: information that is printed out along with the message of the day, yet I can't find the script which generates and echoes out.
Where is it defined, in an easy-to-edit shell script, or closed off in a…
IQAndreas
- 1,480
- 2
- 19
- 39
18
votes
3 answers
Is it possible to put commands in /etc/motd?
Can I put shell commands in the /etc/motd login banner file? I have tried:
$(uptime)
and
`uptime`
Is this possible?
Justin
- 5,008
- 19
- 58
- 82
13
votes
3 answers
How to configure the login message in Ubuntu?
Each time I SSH into my AWS Ubuntu servers I see a system information message, showing load, memory usage and packages available to install, like this:
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-51-virtual x86_64)
* Documentation: …
Andres
- 239
- 4
- 9
8
votes
4 answers
There are two MOTD's shown when I login to my server using SSH
I wanted to change the MOTD that is shown when you login to a computer on a TTY, which seems to work, but somehow, it doesn't just show the MOTD in /etc/motd and /etc/update-motd.d/, but also another message.
This is shown when I login to my…
Sam van Kampen
- 183
- 1
- 1
- 5
3
votes
1 answer
Removing Ubuntu 18.04 motd
Anyone know exactly which package(s) to remove to git rid of all the login cruft on Ubuntu 18.04?
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-52-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: …
Server Fault
- 3,454
- 7
- 48
- 88
1
vote
2 answers
SSH Show motd without re-connect
As the title say I'm setting up the motd scripts for my server,
in the directory:
/etc/update-motd.d/
I want to see them without re-connect to ssh,
there is a command to display the ssh motd?
Emax
- 385
- 1
- 3
- 8
1
vote
0 answers
Identify mystery output on ssh login
How can I find where this dbus-launch error output is coming from? At first I thought it was related to motd but I currently have that disabled. X11Forwarding is turned off in my sshd_config as well as PrintMotd. It seems that something is trying to…
FeatherKing
- 11
- 1
1
vote
1 answer
How to disable Web Console and Red Hat Insights prompt on login to RHEL8 via SSH?
Whenever I log into my RHEL8 server via SSH, I get these lines printed:
Web console: https://:9090/ or https://:9090/
This system is not registered to Red Hat Insights. See https://cloud.redhat.com/
To register this system, run:…
cyqsimon
- 185
- 7
0
votes
0 answers
Unable/remove last login information from MOTD when login using a shell into Linux /Slackware 13.37/
I am configuring a Linux machine(Slackware 13.37) which should print some instructions right after user login. The user will login using a shell (keyboard and monitor connected directly with the Linux machine,not SSH) and I want to remove Last Login…
Alexander
- 1
- 2
0
votes
1 answer
Ubuntu Server 14.04.2 LTS: MOTD always displays the same packages to be updated
Since yesterday I always get this message when I log in via SSH:
2 packages can be updated.
0 updates are security updates.
There's nothing to be updated running apt-get update and apt-get upgrade:
sudo apt-get upgrade
Reading package lists...…
0
votes
1 answer
How to make a dynamic motd-module in Puppet?
We are using Puppet to generate our /etc/motd file. Unfortunately the hostnames do not always have the same length.
This creates a /etc/motd with sometimes a space too much or too little after the hostname.
…
ujjain
- 3,963
- 15
- 50
- 88
0
votes
0 answers
Is there any way to display a MOTD when running `git fetch` or `push` or `pull`?
I have a situation where it would be useful to display a message to users when they push or pull or fetch from the command line from our internally hosted Github Enterprise service. After some googling, I saw instances of folks wanting to disable…
Rob Fagen
- 9
- 1
0
votes
0 answers
How to check for Sixel support in pam_motd on Ubuntu?
Ubuntu uses pam_motd to display the message of the day (motd) when logging in. This message is in turn generated from the scripts in /etc/update-motd.d.
Inside one of those scripts I would like to check if the terminal used supports Sixels.
I tried…
Jochen
- 191
- 1
- 1
- 7