Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


motd
before login on Consoleissue
Linkvi /etc/issue


Before login SSH sessionAfter login
modify sshd_configlabuser@ubuntu1804:~$ more /etc/ssh/sshd_config | egrep "JLK|Banner"
# JLK Modif added banner #no default banner path
Banner /etc/ssh/sshd-banner
create /etc/ssh/sshd-bannerlabuser@ubuntu1804:~$ more /etc/ssh/sshd-banner
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~ username: labuser
~~~~
~~~~ password: juniper123
~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


After loginmotdĀ  ( documentation: Link )
link
sudo sh -c 'echo "Welcome Ubuntu User" > /etc/motd'


...