Messages at login
Chris Bier
chris.bier at cymor.com
Tue Jun 22 20:10:10 CDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brian Densmore wrote:
| What's the difference between motd and fortune?
| I don't use either.
|
|
|>-----Original Message-----
|>From: Brian Kelsay
|>
|>The sayings are from fortune...
|
|
| A Curious mind
MOTD is Message of the day. It displays a message that is displayed on
login to give any info the admin wants to convey to all users without
sending an email to all. AFAIK, /etc/motd is just a file and there is
no daemon.
Fortune reads fortune files with quotes and displays a random entry.
It's just a program and has nothing to do with logins. It can, however
be added to .bash_profile, .profile, etc to display a random quote for a
user's login.
The man pages for each give more detail.
Chris
- --
I digitally sign my emails. If you see an attachment with .asc, then
that means your email client doesn't support PGP digital signatures.
http://www.gnupg.org/(en)/documentation/faqs.html#q1.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA2JINE5xXU3JS1mQRAmwBAJ9V+sHa+sZxncBlgsVUyntBEO0ZYwCcDE78
ywEW59uUeY7zBs5zNfoWv70=
=jzqX
-----END PGP SIGNATURE-----
More information about the Kclug
mailing list