Miscellaneous > Programming & Networking

MOTD

(1/1)

Kintaro:
How would i go about having the MOTD replaced automaticly every hour with a "fortune" cookie!

voidmain:
Put this in root's crontab:

--- Code: ---
--- End code ---

However, most people would just run "fortune" in the /etc/profile.  Then every time everyone logs in they will get a different fortune.

Navigation

[0] Message Index

Go to full version