[Novalug] where is the login message?

aad ali.darab@gmail.com
Mon Dec 10 17:02:59 EST 2007


Hi Nino,

On Dec 10, 2007 4:37 PM, greg pryzby <greg@pryzby.org> wrote:

> message of the day
>
> typically
>
> /etc/motd
>
> On Dec 10, 2007, at 4:35 PM, Nino Pereira wrote:
>
> > Hi,
> >
> > a colleague must include a specific warning message to everyone
> > who logs in on his linux box. I have such a message on one of
> > my systems, but I couldn't help him: I had forgotten where
> > this sits.
> >
> > Any suggestions? His is Fedora 7, I believe (but, my system is still
> > RedHat 7).
>

Are his users logging in via the console or SSH?  I just looked at a Fedora
7 system and a warning can be specified *during* SSH login with the "Banner"
option within /etc/ssh/sshd_config:

# no default banner path
Banner /some/path/to/warning/message
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20071210/06a10796/attachment.htm>


More information about the Novalug mailing list