# comment out/etc/login.conf
# :welcome=/var/run/motd:\
Did you reboot system? Restart the motd service? Restart the sshd service?PrintMotd no
update_motd="NO"
motd is still there
Didn't know about fortune
freebsd-tips
. The other catalogs have all been removed from the base but can still be installed through ports/packages.Thanks, and to all the quick replies.fortune(1) has been part of ~/.login for a very, very long time. There's been only one major change in all those years, it now only showsfreebsd-tips
. The other catalogs have all been removed from the base but can still be installed through ports/packages.
freebsd-tips
, it's an interesting read... {beastie} @ FreeBaSeD-T430 > /home/beastie
→ alias
beastie='cowsay -f daemon "$(fortune -as)"'
...
beastie
command in my ~/.zshrc so he can speak to me every time I open a terminal or login in a tty.For the record, this is wrong, I missed the fact that sshd uses login_getcapstr() looking for "welcome", and it's correctly set to /var/run/motd.PrintMotd isn't going to do much (may be counted as a bug) as we now have /var/run/motd, and not /etc/motd sshd is looking for.
I posted a solution earlier in this thread:Did everything and its still there, doesn't matter will just ignore and that's it. so annoying
Only it wasn't about motd.I posted a solution earlier in this thread:
Yep offering solutions without having complete informationOnly it wasn't about motd.
What's missing?Yep offering solutions without having complete information
perhaps showing what was actually being shown on login?What's missing?
That's at the bottom of the post. Maybe you are looking at something else?perhaps showing what was actually being shown on login?
Maybe, but OP finally talks about "fortune" being the issue and everyone else offering MOTD solutions based on the title and descriptions so I stand by my "there was missing information". You can disagree and I'm fine with that.That's at the bottom of the post. Maybe you are looking at something else?
Maybe the OP finally has changed? He was last time seen on the forums on Dec 11, 2021Maybe, but OP finally ...
Also essential from the addison wesley series:-