Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: MOTD Help

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    MOTD Help

    Howdy all.

    I'm reasonably new to Gentoo myself, although I must say I'm liking it. Anyway, what I want to know is.. When I write my motd to /etc/motd, it comes up obviously when logged into. But when there's no motd file, you get a message saying eg. Last login date by hostname (ip) blah blah. How can I make it so that the last login bit and my motd come up when SSH is accessed.

    Thanks in advance,


  2. #2
    In /etc/ssh/sshd_config add PrintLastlog Yes, but this shouln't be necesary because it should be on by default. The same holds true for the motd, PrintMotd yes enables printing the motd, but this also is on by default.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts