MOTD with specific users

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: James Mabry
Date:  
Subject: MOTD with specific users
Miles Beck wrote:
> Hello,
>
> Is there a way to display a specific MOTD based on the user that logs in?
>
> Thanks
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Hey Miles,
You could create a directory in /etc like "/etc/othermotd/username_motd"
and put the line:

cat /etc/othermod/username_motd

in each users .profile where username is the corresponding user of that
motd.

There may be an easier way to do this but that's just the hacked up
method I use :).


--
Slackware Linux -
Learn about the 4S rule.
www.slackware-advocacy.org/whyuse.html

Then try it out for yourself.
www.slackware.org