Hi all, I have been polishing up on some basics of shell scripting, I decided a nice task would be to create a dynamic MOTD (RAID disk stats etc) since im using SSH so much at the moment. The MOTD generation script works great when run manually and I am aware I could just set up a cron job - but I feel this is a bit of a bodge. My idea is to run the script before the MOTD is called, somewhere slightly before the shell is run See: http://developer.apple.com/documentation/Darwin/Reference/ManPages/man5/motd.5.html After login, before shell is run - Where is this? Can I get to it? At the end of my teather looking around for an answer on BSD/*nix/OS X forums and google searches! I have tried putting the script call in /etc/profile but this seems to be run after the shell is run and hence the motd has already been called, so updating it is too late to reap the rewards. Any help appreciated!! This was supposed to be a bit of fun but I have to finish it for the sake of elegance and completeness!