Sysadmins - What's in Your MOTD?
permaculture asks: "This is a 'knowledge management' issue, on a University network. For many years we've had a network 'Message of the Day' that appears when any network user logs in. MOTD lists planned service outages for maintenance, progress on current issues, upcoming holidays, and other items that affect network users. Recently, this has been replaced by a page that announces general University business such as Open weeks, upcoming awards etc. There's a link on the page to the network MOTD that used to greet every user immediately after login. Does your network have a 'Message of the Day' that appears at login? Is it a Corporate business page, entirely related to network services, or something else entirely?"
I was just thinking of upgrading mine. It currently reads:
Trolling is a art,
Attention Cluster users... Node90, node104, and node243 are down for maintainance/repair. Please update pbs and lammpi configurations to reflect the reduction of 12 processors. Thank you.
We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
[ben@bees ~]$ ls -l /etc/motd /etc/motd
-rw-r--r-- 1 root root 138 Jul 28 2000
well, to be honest, the Message Of The Day, is. uhm.. the message of the day :) Wasnt that obvious?
... the output of fortune run by root in a nightly cron job. :-)
Creationist Textbook Stickers Declared Unconstitutional by CowboyNeal
hostname | figlet > /etc/motd
This is definitely a topic that merits serious discussion.
I use fortune.
Events on calendar are closer than they appear.
The Roman Rule: The one who says it cannot be done shall not interrupt the one who is doing it.
head like a hole
black as your soul
I'd rather die
than give you control
I think the last administrator to touch MOTD set that - it was a really original idea at the time!
It's a bit scary, but just this day our MOTD got changed to "We are the Borg. Resistance is futile.". :-/
Swedish plasma phys. PhD student; MSc EE; knows maths, programming, electronics; finance interest; seeks opportunities
Our network announcements and other notices are elsewhere, so I put a Quote Of The Day in our MOTD.
"If you think the problem is bad now, just wait until we've solved it." --- Arthur Kasspe
On all the systems I admin, it's a zero-byte file. I don't know why I don't just delete it; I think so FreeBSD's mergemaster won't simply put one back in place when I rebuild the system.
DoublePlusBSD 0.0.0 (BIGBROTHER) #1: Wed Feb 29 04:20:00 GMT 1984
not entirely working in your best interests
-- since 1984 --
Access to and use of this server is restricted to those
activities expressly permitted by the system administion
staff. If you're not sure if it's allowed, DON'T DO IT.
This flies in the face of science.
And if they do read, they don't care. If you tell them that Friday at 3pm, the a server is going down, they'll ignore it, and call you at 3:01 screaming that they are kicked off.
People don't care about your silly technical problems, they've learned that screaming loudly works, as it does. They don't care that you had to reboot the mail server because Exchange died again, goddammit, they have important email to send, what are you, incompetent?
And, your boss will kiss their ass and make excuses for your failures, and discuss grand schemes to Make Sure It Doesn't Happen Again.
Yes, I work at $LARGE_US_BANK, and this sort of thing does happen. Technologists are only ever the reason that people can't get work done, we're never seen as enablers.
Why do you think the BastardOperatorFromHell is such a powerful meme?
I want to delete my account but Slashdot doesn't allow it.
>cat /etc/motd
Benden Weyr: Now with 200% more Space Elf-related program activity!
I've found that inspiring and thought-provoking quotes are very useful. We use them on our systems. One place that's good for information is Words of Wisdom. They also have a daily mailout of high-quality quotes.
Notice
This is a Department of Defense computer system.
This computer system, including all related equipment, networks, and network devices (specifically Internet access), are provided only for authorized U.S. government use.
DoD Computer systems may be monitored for all lawful purposes, including to ensure that their use is authorized, for management of the system, to facilitate protection against unauthorized access, and to verify security procedures, servivability, and operational security. Monitoring includes active attacks by authorized DoD entities to test or verify the security of this system. During monitoring, information may be examined, recorded, copied, and used for authorized purposes. All information, including personal information, placed on or sent over this system may be monitored. There is no expectation of privacy in any information transmitted in or through this system.
Use of this DoD computer system, authorized or unauthorized, constitutes consent to monitoring of this system. Unauthorized use may be subject to criminal prosecution. Evidence collected during monitoring may be used for administrative, criminal, or other adverse action. Use of this system constitutes consent to monitoring for these purposes.
...otherwise people bellyache mightily. I put just the most critical announcements and a url to a more general info page.
Many of us can't screw with the MOTD because of the Sarbanes-Oxley Act, and are stuck with some legal notice that is it is a private system, you need access, blah blah...
I do plan to watch this thread, hoping for some gems to pop-out though for my private systems :)
Mwahahaha! Who wants to "log on" to my system now? Just don't ask me to patch any security holes...
- None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
I can not remember off the top of my head what we have as ours, something about unauthorized use, etc..
I do however remember when a user called an asked us why it said "purple monkey diswasher" instead of the normal legal lingo. Turns out her 'new' pc had been in used in our test evironment, and someone forgot to switch it over before putting it on her desk.
It's a lively file. We get tons of flames and trolls. Randomly, we get a genuine question and, more often than not, the question gets answered. Most of the users try to play nice and not overwrite each other. I'm not sure what the record is, but we got our motd to get over 1000+ lines. It gives me a warm fuzzy to see all that scrolling text.
FreeBSD 6.0-RELEASE (GENERIC) #0: Thu Nov 3 09:36:13 UTC 2005
/usr/share/doc.
/etc/motd to change this login announcement.
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are
at http://www.freebsd.org/releases/ - always consult the ERRATA section
for your release first as it's updated frequently.
o The Handbook and FAQ documents are at http://www.freebsd.org/ and,
along with the mailing lists, can be searched by going to
http://www.freebsd.org/search/. If the doc distribution has
been installed, they're also available formatted in
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list. If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page. If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility. Edit
joe@gateway$
hth.
By summer it was all gone...now shesmovedon. --
I use this ascii generator to put the name of the server in all the servers I admin.
http://www.network-science.de/ascii/
I favor 'standard' as the font.
Rule #1: Do not speak about dienub
Rule #2: Do not speak about dienub
Rule #3: Whatever it was in that cool movie
Rule #4: If I dislike your behaviour on this server, I will purge your
account, and publish your entire home directory in a public IRC
channel.
This includes, nonexclusively, sending global messages, using retarded
exploits (Both against this and other servers), ban evasion, etc.
Too many faulty login attempts will get you banned by DenyHosts. Generate a
fucking keypair and use it for authentication. Passwords are insecure.
Sincerely,
Your friendly BOFH.
With added mods:
Simpsons
Futurama
Bush Quotes
Hitchhikers Guide
login as: bryan
Password:
Last login: Sat Apr 22 11:26:08 2006 from rrcs-24-227-212-27.sw.biz.rr.com
FIVE DAYS IS NOT TOO LONG TO WAIT FOR A GUN
FIVE DAYS IS NOT TOO LONG TO WAIT FOR A GUN
FIVE DAYS IS NOT TOO LONG TO WAIT FOR A GUN
FIVE DAYS IS NOT TOO LONG TO WAIT FOR A GUN
Bart Simpson on chalkboard in episode 1F20
bryan@rr4linux ~ $ fortune
If you rap your knuckles against a window jamb or door, if you
brush your leg against a bed or desk, if you catch your foot in a curled-
up corner of a rug, or strike a toe against a desk or chair, go back and
repeat the sequence.
You will find yourself surprised how far off course you were to
hit that window jamb, that door, that chair. Get back on course and do it
again. How can you pilot a spacecraft if you can't find your way around
your own apartment?
-- William S. Burroughs
bryan@rr4linux ~ $ fortune
Calm down, it's only ones and zeroes,
Calm down, it's only bits and bytes,
Calm down, and speak to me in English,
Please realize that I'm not one of your computerites.
bryan@rr4linux ~ $ fortune
Only someone with nothing to be sorry for smiles back at the rear of an
elephant.
bryan@rr4linux ~ $ fortune
When you are about to do an objective and scientific piece of investigation
of a topic, it is well to gave the answer firmly in hand, so that you can
proceed forthrightly, without being deflected or swayed, directly to the goal.
-- Amrom Katz
bryan@rr4linux ~ $ fortune
"Well, if you can't believe what you read in a comic book, what *can*
you believe?!"
-- Bullwinkle J. Moose [Jay Ward]
bryan@rr4linux ~ $ fortune
Day X+4 months: Microsoft ships NT 5.0 for Intel.with a big media
event on TV. IBM begins to ship Debian 4.6 as the
standard OS on all machines from mainframe to PC
and announces the move on Slashdot.
-- Christoph Lameter
There is no "I disagree" mod for a reason. Flamebait, Troll, and Overrated are not substitutes.
Boss's work Credit Card info -- Doubles as an IDS /. headline /var/log/squid/access.log | tail -n 5
Company gossip
Ascii porn
random line from salaries.xls
latest
grep $bossip
$ cat /etc/motd
Welcome to Darwin!
Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
Attention!
This is a DOD computer system. Before processing classified information,
check the security accreditation level of this system. Do not process, store,
or transmit information classified above the accreditation level of this
system. This computer system, including all related equipment, networks
and network devices (includes internet access) are provided only for
authorized U.S. Government use. DOD computer systems may be monitored for
all lawful purposes, including to ensure that their use is authorized, for
management of the system, to facilitate protection against unauthorized
access, and to verify security procedures, survivability, and operational
security. monitoring includes, but is not limited to, active attacks by
authorized DOD entities to test or verify the security of this system. During
monitoring, information may be examined, recorded, copied, and used for
authorized purposes. All information, including personal information,
placed on or sent over this system may be monitored. Use of this DOD
computer system, authorized or unauthorized, constitutes consent to
monitoring. Unauthorized use of this DOD computer system may subject you
to criminal prosecution. Evidence of unauthorized use collected during
monitoring may be used for administrative, criminal, or other adverse
action. Use of this system constitutes consent to monitoring for all lawful
purposes.
Mine says:
Welcome to Darwin!
Ignore the MOTD.
/etc/motd
$cat
Lose Windows Now! Ask me how!
$
I'm not sure if the MOTD is a terribly useful place to put such messages these days. Most everyone's going to be using graphical workstations (either Unix or Windows) which won't show the MOTD on log. For mail they'll be using IMAP/POP/Webmail clients and, again, missing the message.
I'd think that, at most schools, bulk email would be the most effective method of communicating with students. The downside to this is that you manage to create a massive ammount of extra data to deal with.
my sig's at the bottom of the page.
Because I hate FreeBSD ports so much...
Do not install anything from ports. FreeBSD ports suck
Instead, download the src and compile manually.
Again, ports suck
mandated by the Audit and IT Risk Management Departments.
While you're reading this, I'm bouncing my balls off your wife's chin.
If you had Cygwin running on your Windows box, you'd have most of your favorite Unix-like utilities available, including cat, X Windows, and a wide range of other useful tools.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
[caveman@marvin caveman]$ ls -l /etc/motd /etc/motd
crw-r--r-- 1 root root 1, 9 Apr 21 2006
That should stop the buggers logging in.
perl -e 'print(ucfirst(`hostname -s`));' | figlet -f chunky > /etc/motd
Das computermachine ist nicht für gefingerpoken und mittengrabben. Ist easy schnappen der springenwerk, blowenfusen, undpoppencorken mit spitzensparken. Ist nicht für gewerken bei das dumpkopfen. Das rubberkecken sichtseern keepen das cotten-pickten hans in das pockets muss; relaxen und watchen das blinkenlichten.
:-)
Hey, I'm the only one who logs into the machine anyway
Creative misinterpretation is your friend.
Beware of the Leopard
Democracy is two wolves and a sheep voting on lunch.
One day I can look back on this...
/etc/motd
gaia$ cat
OpenBSD 3.9-current (gaia) #3: Fri Apr 21 12:38:12 CDT 2006
Don't fuck around or I'll kill you.
datacenter2, datacenter4, and datacenter5 all allowed to connect to gaia:22
if you need anything then don't ask because I don't give a fsck.
and one more thing... die
gaia$
May the gods of Blue Mountain send you online greeting cards until you've learned the error of your ways!
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
orThis is actually in the banner, rather than the MOTD -- but it's important to state that there is no expectation of privacy, so that you can't be charged under any of the privacy acts, should you log someone on your system and try to prosecute them.
Build it, and they will come^Hplain.
--- Are You Authorized To Use This System? ---
------ Probably Not! So Get Off My Box! ------
Only 'flamers' flame!
Does slashdot hate my posts?
Historically there were two common contents for motd - fortune, and a note from the administrator saying that the file system was almost full so please clean up your files, and this applied to just about any multi-user server with just about any operating system. Moore's Law has changed this for most systems I've dealt with - disk capacities have been growing rapidly and prices dropping rapidly, and disk drives really are no longer running 99% full except for individuals' PCs that are full of MP3s or videos. Sometimes you'll see messages like that from MS Exchange Mail Server operators who are running shared mailbox servers on expensive fast disks, but otherwise the disk capacity most places finally outpaces user demand.
Unfortunately, bureaucrats acting as amateur lawyers have typically replaced that message with some badly written threatening legalese drivel that has no clue about what the laws actually say; they'd be just as well off with a message that said "The Wizard says: Go away and come back tomorrow!"
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
i expect it was pretty annoying. it was even RED ALL CAPITALS and i had a similar message in /etc/issue.net that was printed with every ssh, sftp, and ftp login.
what i learned was: users do not pay attention to the motd, so don't bother. also, mp3's are very important.
i suppose i should have expected this reaction. i got the idea from the motd on my school's sunos server, which had a message stating that mail space was low and that users should delete any mp2 (not mp3) files they were storing. that message was there the entire time i was enrolled. now it's on new hardware with a larger disk...
now i just have a standard "Access to this system is permitted for authorized users only" in issue.net, and mord
Did you have Rule 6?
General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
My MOTD? Check out the suggested default at Bastille Linux and modify it to suit. On most recent RH-based distros you can cun-n-paste the same msg into /etc/issue and /etc/issue.net (assuming runlevel 3), so all your users see it no matter what. You might want to have your legal department parse it first just to be sure.
C|N>K
$ cat /etc/motd
OpenBSD 3.9-beta (GENERIC) #593: Tue Jan 24 02:00:54 MST 2006
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.
FreeBSD 6.1-PRERELEASE (SE7210TP1E) #0: Tue Mar 14 12:15:56 CST 2006
m l
Welcome to FreeBSD and the wonderful world of UNIX!
Abandon all Hope, ye who Enter Here...
If you need help, the commands; man, whatis, and whereis will help you.
For an introduction to UNIX head on over to:
http://wks.uts.ohio-state.edu/unix_course/unix.ht
http://www.ee.surrey.ac.uk/Teaching/Unix/
http://www.mcsr.olemiss.edu/unixhelp/
$ cat /etc/motd
THIS IS A DEPARTMENT OF DEFENSE COMPUTER
SYSTEM. USE OF THE SYSTEM IMPLIES CONSENT TO
MONITORING. ANY UNAUTHORIZED USE OF THE SYSTEM WILL
BE PROSECUTED.
$
887321 = 337*2633
~ # cat /etc/motd
Our Father, who 0wnz heaven, j00 r0ck! May all 0ur base someday be belong
to you! May j00 0wn earth just like j00 0wn heaven. Give us this day our
warez, mp3z, and pr0n through a phat pipe. And cut us some slack when we
act like n00b lamerz, just as we teach n00bz when they act lame on us.
Please don't give us root access on some poor d00d'z box when we're too
pissed off to think about what's right and wrong, and if you could keep
the f3i off our backs, we'd appreciate it. For j00 0wn r00t on all our
b0x3n 4ever and ever, 4m3n.
i have this installed on all the machines i adminstrate. placed in /etc/motd. Also, if you change the "banner" option in SSH to point to /etc/motd, the security message will be displayed before and after authentication.
A T T E N T I O N !
This system is for the use of authorized users only.
Individuals using this computer system without authority,
or in excess of their authority, are subject to having all
of their activities on this system monitored and recorded
by system personnel. In the course of monitoring
individuals improperly using this system, or in the course
of system maintenance, the activities of authorized users
may also be monitored. Anyone using this system expressly
consents to such monitoring and is advised that if such
monitoring reveals possible criminal activity, system
personnel may provide the evidence of such monitoring to
law enforcement officials.
UNAUTHORIZED ACCESS IS PROHIBITED BY TITLE 18
UNITED STATES CODE, SECTION 1030
There is NOOOOOOO Rule 6!
Source: Philosopher's song sketch
General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
Having a slow day on Slashdot, are we?
"Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
The company requires me to put a big ugly disclaimer in the motd. So, immediately afterwards I add the output of `fortune disclaimer`, which was my first contribution to Debian.
GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
Way, way back in the day, my .logout ran the UNIX fortune program, which sometimes coughed up something witty for me to read as I logged out.
/dev/null is full. Please empty the bit bucket.
One afternoon, I guess I was feeling a bit giddy, as I had arranged to take the following day off. The fortune program was also in a fine mood, and I thought so much of its output that I just had to log back in and preserve it in the MOTD.
Imagine my surprise the next morning at being rudely awakened by a call from the "senior" sysadmin. Seems the ol' Sun 3 was scaring the users with an error message whenever they logged in, and my superior couldn't find it anywhere in the man pages. It took all my willpower to keep from bursting out laughing.
The message?
Error:
Welcome! Now, leave if you know what's good for you.
FreeBSD 6.1-BETA3 (FANG) #0: Fri Mar 10 18:41:21 UTC 2006
Yorn desh born, der ritt de gitt der gue, Orn desh, dee born desh, de umn bork! bork! bork!
Set up a cron job to run this shell script:
/etc/motd
#!/bin/bash
lynx -head -dump http://slashdot.org/ | egrep "X-Bender|X-Fry" | cut -d : -f 2 >
It uses a quote hidden in the HTTP headers of every slashdot page.
FreeBSD 6.1-RC (mykernel) #0: Sun Apr 16 02:58:35 PDT 2006
/usr/share/doc.
/etc/motd to change this login announcement.
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are
at http://www.freebsd.org/releases/ - always consult the ERRATA section
for your release first as it's updated frequently.
o The Handbook and FAQ documents are at http://www.freebsd.org/ and,
along with the mailing lists, can be searched by going to
http://www.freebsd.org/search/. If the doc distribution has
been installed, they're also available formatted in
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list. If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page. If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility. Edit
I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
Recommended by the Bastille hardening script, so it's easier to prosecute offenders:
---NOTICE TO USERS---
This computer system is the private property of Vlad Grigorescu, whether
individual, corporate or government. It is for authorized use only.
Users (authorized or unauthorized) have no explicit or implicit
expectation of privacy.
Any or all uses of this system and all files on this system may be
intercepted, monitored, recorded, copied, audited, inspected, and
disclosed to your employer, to authorized site, government, and law
enforcement personnel, as well as authorized officials of government
agencies, both domestic and foreign.
By using this system, the user consents to such interception, monitoring,
recording, copying, auditing, inspection, and disclosure at the
discretion of such personnel or officials. Unauthorized or improper use
of this system may result in civil and criminal penalties and
administrative or disciplinary action, as appropriate. By continuing to
use this system you indicate your awareness of and consent to these terms
and conditions of use. LOG OFF IMMEDIATELY if you do not agree to the
conditions stated in this warning.
This was what mine was before I upgraded:
Dis beez my box.
It don' be real fast.
But if you fuck wit it,
I be kickin' yo ass.
-- Management
I found this one in a fortune file somewhere.
There is a spellbook here; eat it? [ynq]
If someone left their terminal open (and we had nice 19" sun monitors too - Solaris 5 box back then) it was granted that for a first offense someone would change your background picture or similar.
.. and so on. They would also find that their logon script had 'exit' at the end of it (force quit them) :) They would then have to use FTP to grab their .cshrc, change it and put it back :)
:P - but only if you were a nice person. Those random key bindings could be a lot of fun.
:P) :)
For a second offense your window scheme would be reset or changed to a very garlish effect.. think neon pink on aqua. A message may be left in a text window noting that the terminal was left unlocked.
For people who continually left their terminal unlocked when they left the room the usual treatment was to randomly rebind keys. eg:
bind vi exit
When you do this (after the third time) you'd usually leave a logon message for them (similar to MOTD) noting that they have left their terminal unlocked (again!!)
Rules for doing this:
1) Don't ever get caught (I can't remember offhand of anyone ever been caught - it only takes a couple of minutes to apply the education needed)
2) Don't ever let someone else know it was you that did it (in our labs you didn't say who did the reconfigure.. mostly because *anyone* would have
3) Don't ever do it to someone.. and then leave your terminal unlocked. It's just asking for it
4) Don't actually damage their files, delete stuff or do anything really bad
We had lots of fun at uni.
You have a sick, twisted mind. Please subscribe me to your newsletter.
I had a number of quotation books, as well as some poetry books (haiku works well), and spent a few minutes each week picking out fun, interesting or (carefully ) apropos quotations.
It didn't take much time, it was fun, and it gave the message a bit of a personal touch. Also, if I needed to announce something, I could be sure that people would be looking to see what the message was. YMMV, not every place has a style that accomdates whimsy. As they say in Japan: "The nail that sticks up gets hammered down." You can guess where I ran across that one.
I think that announcing upcoming events is a good idea, except that the less personal the message seems, the more people are inclinded to ignore it.
Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
I work for my school's Engineering computer department (more or less separate from the rest of the university), and our MOTD is strictly reserved for info about our computer systems (network outages, lab replacements, A/C not being turned on yet, et cetera... though one time it said Happy St. Patrick's Day). For the general event announcements, our Windows clients have text dynamically placed on the desktop - not an active desktop thing, but a program that overlays the announcements over our normal "no food drinks or smoking in the labs" desktop whenever someone logs in as part of the logon scripts. Our 3 solaris labs don't say anything... yet. That's one of my projects. We just did our Solaris 10 rollout a couple months ago, with Java Desktop (Gnome). So that will probably make my life easier than if it was done using CDE...
Peace, Chris
LISP?
http://outcampaign.org/
/^([Ss]ame [Bb]at (time, |channel.)){2}$/
If you shouldn't be here, fuck off. Thats on my home machine, webserver has some legal crap (monitoring, etc), and my dev machine says 'Welcome to the fone-me.com SVN server'
Aber ich habe lieber das deutsches Blinkenlights :-)
Creative misinterpretation is your friend.