Skip to content

Instantly share code, notes, and snippets.

@hvmonteiro
Last active April 5, 2024 14:36
Show Gist options
  • Star 21 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • 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