LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware MOTD (https://www.linuxquestions.org/questions/slackware-14/slackware-motd-274086/)

cccc828 01-05-2005 05:57 AM

Slackware MOTD
 
Hello,

I tried to figure it out for some time, but simply couldn't find an answer: Where do Slackware's nice MOTD come from?
With motd I do not mean /etc/motd, but those nice quotations and proverbs that you get when you enter a login shell (try "su -" [With the minus-sign]).

cccc828

Cedrik 01-05-2005 06:07 AM

This is the BSD program 'fortune'

Look at:
/etc/profile.d/bsd-games-login-fortune.csh
/etc/profile.d/bsd-games-login-fortune.sh

to disable it just chmod -x these files

cccc828 01-05-2005 06:37 AM

Thank you for the answer.

Quote:

Originally posted by Cedrik
to disable it just chmod -x these files
No, I actually really like these epigrams :)

cccc828

Linuxrat 01-05-2005 10:26 AM

I, too, like this feature. Some of them are quite amusing and gives Slack that
little-something-different from the other distros.

ringwraith 01-05-2005 02:39 PM

i like them also, except when i got "you will be dead within the year"
that one was kind of depressing.

dennisk 01-05-2005 05:18 PM

I once get one on first installation on an old laptop that said
Quote:

Your keyboard is toast!
. . .and it was! Locked up solid!

Turned out that the BIOS had a problem and needed an append to lilo.conf to avoid the touchpad from locking up the mackine.

I'll never understand to this day how Slackware knew! ;)

dennisk;

Genesee 01-05-2005 05:39 PM

Quote:

Originally posted by Linuxrat
I, too, like this feature. Some of them are quite amusing and gives Slack that
little-something-different from the other distros.

:) agreed. check out the man page, there's some cool options, like searching for keywords, filtering potentially offensive fortunes, etc.


All times are GMT -5. The time now is 12:39 AM.