nixers
/etc/motd - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Desktop Customization, Efficiency, and Aesthetics (https://nixers.net/Forum-Desktop-Customization-Efficiency-and-Aesthetics)
+--- Forum: Desktop Customization & Workflow (https://nixers.net/Forum-Desktop-Customization-Workflow)
+--- Thread: /etc/motd (/Thread-etc-motd)


/etc/motd - pfr - 18-11-2020

For those who don't use a login manager and start your X session with startx, have you customised your message of the day?

Here is my /etc/motd -- Artwork NOT by me but rather some other talented person out there (found it on the weeb)
[Image: 11-19-2020-12-35.png]


RE: /etc/motd - ols - 19-11-2020

I haven't configured my motd actually. I should because the default OpenBSD one is too long:

Code:
Last login: Wed Nov 18 19:08:47 2020 from 10.13.37.99
OpenBSD 6.7 (GENERIC) #1: Sat May 16 16:07:20 MDT 2020

Welcome to OpenBSD: The proactively secure Unix-like operating system.

Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code.  With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.

Yes I know I need to upgrade :)

I have added a Banner to sshd though, that says

Code:
yo fuck off, unless you've been given permission to be here of course



RE: /etc/motd - jkl - 19-11-2020

The only time I modified a MOTD was when I set up a server for a friend and I wanted to show him how the welcome message is generated.

He never removed the message which just said: Penis!

Other than that, I usually just hide the MOTD. It is a waste of space.


RE: /etc/motd - opfez - 19-11-2020

(19-11-2020, 05:02 AM)jkl Wrote: It is a waste of space.
Do you ever have fun, jkl?


RE: /etc/motd - ols - 19-11-2020

(19-11-2020, 05:14 AM)opFez Wrote:
(19-11-2020, 05:02 AM)jkl Wrote: It is a waste of space.
Do you ever have fun, jkl?

(19-11-2020, 05:02 AM)jkl Wrote: He never removed the message which just said: Penis!

I'd say yes :D


RE: /etc/motd - pfr - 19-11-2020

(19-11-2020, 04:58 AM)ols Wrote: I have added a Banner to sshd though, that says

Code:
yo fuck off, unless you've been given permission to be here of course

Only problem is motd comes up after you log in.
I also modded my /boot.cfg adding a unix banner. That might be a good place to add a little warning to intruders... although depending on your timout they may not see it.

(19-11-2020, 05:14 AM)opFez Wrote:
(19-11-2020, 05:02 AM)jkl Wrote: It is a waste of space.
Do you ever have fun, jkl?

haha yeah, it's just a bit of fun. A blank canvas really..


RE: /etc/motd - ols - 19-11-2020

(19-11-2020, 06:55 AM)Ramiferous Wrote:
(19-11-2020, 04:58 AM)ols Wrote: I have added a Banner to sshd though, that says

Code:
yo fuck off, unless you've been given permission to be here of course

Only problem is motd comes up after you log in.

Yeah that's right, I added this to sshd Banner so that it shows up when you connect to ssh, rather than when you are logged in


RE: /etc/motd - jkl - 19-11-2020

(19-11-2020, 06:26 AM)ols Wrote:
(19-11-2020, 05:14 AM)opFez Wrote:
(19-11-2020, 05:02 AM)jkl Wrote: It is a waste of space.
Do you ever have fun, jkl?

(19-11-2020, 05:02 AM)jkl Wrote: He never removed the message which just said: Penis!

I'd say yes :D

;-)


RE: /etc/motd - dionys - 19-11-2020

'/etc/motd': No such file or directory
'/etc/init.d/motd': No such file or directory

I have a shell script in /etc/update-motd.d/ that runs 'uname -snrvm'

I'd like to have something with a little personality that is actually useful, but haven't come up with much so far. If I would include some kind of eye-candy I'd keep it short and rig something to track time since last login to avoid seeing it over and over while I'm trying to get something done.