SSH and motd

From:
Date: 10/30/02


Date: Wed, 30 Oct 2002 12:20:12 +0100

I have sometimes been using /etc/motd to provide helpfull
information for my users (not that anybody ever read it,
but at least I tried). I could tell the users why some
software no longer works as expected, and what the user
has to do. But I cannot use this to tell the user why his
login attempts fails, and what he can do about it. This
is simply because motd is first printed when the user has
sucuessfully logged in. Is there some way I could provide
a motd even for unsucessfull login attempts or possibly
print a message before the login like /etc/issue used by
other ways to log in?

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:aaarep@daimi.au.dk
Don't do this at home kids: touch -- -rf



Relevant Pages

  • Re: SSH and motd
    ... Pete ... >I have sometimes been using /etc/motd to provide helpfull ... >login attempts fails, and what he can do about it. ... >is simply because motd is first printed when the user has ...
    (comp.os.linux.security)
  • problems with motd
    ... I've got some problems with motd as following description: ... After logging in system, messages: last login. ... According to the man page for motd, use touch ~/.hushlogin can suppress those messages besides the last login part. ...
    (freebsd-questions)
  • Re: Quote from thing
    ... though, another commonly-used one, at login, was/is motd (i.e. message ... it decides what fraction it represents of the remaining file ... probability of truth, and if true, emits the message and terminates. ...
    (sci.electronics.design)
  • problem with the last login
    ... I¡¦ve got some problems with motd as following description: ... will show on the screen in sequence. ... 1.So I just want to know how to suppress the last login part? ...
    (freebsd-questions)
  • OWA Logon Page?
    ... >>I have a brand new ex2k3 install, and web mail works ... Externally, no login page. ... but it seems it would be helpfull if there was. ...
    (microsoft.public.exchange.setup)