Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 May 2005 11:06:00 -0700
From:      John Pettitt <jpp@cloudview.com>
To:        simon@schtriker.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /etc/issue "problem"
Message-ID:  <42766C08.90406@cloudview.com>
In-Reply-To: <4276699D.8010607@schtriker.net>
References:  <4276214B.1030307@schtriker.net> <44k6mhd7jp.fsf@be-well.ilk.org> <42765486.40500@chuckr.org> <4276699D.8010607@schtriker.net>

next in thread | previous in thread | raw e-mail | index | archive | help


Simon Striker wrote:

> Hello again!
>
> So far I have noticed that text in /etc/issue shows up ONLY when user
> logs on from console.
>
> Now I wonder If there exists something like /etc/issue.net (like in
> Linux), where I could put the text for telnet pre-login message?
>
> Best regards,
> Simon


man telnetd says (in part)

>  By default telnetd will read the he, hn, and im capabilities from
>      /etc/gettytab and use that information (if present) to determine
> what to
>      display before the login: prompt. You can also use a System V style
>      /etc/issue file by using the if capability, which will override
> im.  The
>      information specified in either im or if will be displayed to
> both con-
>      sole and remote logins.



sshd needs "Banner /etc/issue" in it's config to do the same thing.

John.*

*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42766C08.90406>