Skip to content

LonoxX/Customize-MOTD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

MOTD

Customize your MOTD login message in Debian and Ubuntu

Installation

  1. We need to turn off (yes, off) SSH's PrintMotd option by editing /etc/ssh/sshd_config:

      PrintMotd no

    This stops printing from the plaintext /etc/motd and lets us print our own content.

  2. Now we'll place our shell script into /etc/profile.d

    /etc/profile.d/welcome.sh
  3. Give the file the necessary rights to execute

    chmod +x /etc/profile.d/welcome.sh
    
  4. Restart the ssh service

     service ssh reload

© 2019 - 2023 Panda-Network

Webseite: Panda-Network.de
Support Discord-Server

About

Customize your MOTD login message in Debian and Ubuntu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages