Linux MOTD | Customized Welcome Message
#linux #linuxtutorials #mprashant @MPrashant
In this video, I have covered about how to customized motd and create motd script.
Here are the simple steps to do it.
Steps:
In /etc/ssh/sshd_config
#PrintMotd yes — no
systemctl restart sshd.service
Create a new file in /etc/profile.d/motd.sh
————————————————————–
#!/bin/bash
echo -e ”
#####################################
# #
# Property of XYZ Group! #
# Unauthorized access is prohibited #
# #
#####################################
City: Mumbai
Country: India
HOSTNAME: $(hostname)
OS: Redhat, 7.4
KERNEL: 3.10.0.693
”
————————————————————–
Linux Motd
Motd in Linux
What is Linux MOTD
Linux tutorial for beginners
Linux hindi tutorial
Comments are closed.