MOTD with specific users

James Mabry plug-discuss@lists.plug.phoenix.az.us
Sat, 28 Dec 2002 17:17:13 -0700


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 - PLUG-discuss@lists.plug.phoenix.az.us
> 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