Greetings all!
I'd like to tweak /etc/motd to give ssh users a personalized login text.

Perhaps something like;

FreeBSD 4.7-STABLE #0: Sun Feb  9 19:32:05 CET 2003 (This already exists
of course)

{username}, Welcome to FreeBSD!
Blah Blah Blah

I notice that "last login" is the first line in this file, 
<snip>
Last login: Thu Feb 13 13:55:22 2003 from 131gorio.dsl.provider-name
</snip>
yet examining the file itself doesn't show how this is achieved (if it
did, then I would play with it and try extending the functionality)


Can anyone suggest how the above could be accomplished? 
I'm no shellscripting guru, so it needs to be *reasonably* simple :-) 

Regards & TIA,
-Colin



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to