Skip to content

Instantly share code, notes, and snippets.

@hvmonteiro
Last active November 13, 2024 18:02
Show Gist options
  • Save hvmonteiro/7f897cd8ae3993195855040056f87dc6 to your computer and use it in GitHub Desktop.
Save hvmonteiro/7f897cd8ae3993195855040056f87dc6 to your computer and use it in GitHub Desktop.
LEGAL Notices for Login/MOTD unix banners
@hvmonteiro
Copy link
Author

Show message before Loging in

Tty Consoles

Add to /etc/issue

Remote Consoles (SSH/Telnet)

Add to /etc/issue.net

SSH Console

edit /etc/ssh/sshd_config
and enable/uncomment Banner:
Banner /etc/issue.net

Show message after loging in:

System wide message

Add to /etc/motd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment