MOTD with specific users

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: James Mabry
Data:  
Asunto: 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