MOTD with specific users

Miles Beck plug-discuss@lists.plug.phoenix.az.us
Sat, 28 Dec 2002 18:35:29 -0700


Thanks, with a little tweaking, it worked. :)

> -----Original Message-----
> From: plug-discuss-admin@lists.plug.phoenix.az.us
> [mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of James
> Mabry
> Sent: Saturday, December 28, 2002 5:17 PM
> To: plug-discuss@lists.plug.phoenix.az.us
> Subject: Re: 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 - 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
> 
> ---------------------------------------------------
> 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