/etc/issue "problem"

John Pettitt jpp at cloudview.com
Mon May 2 11:06:01 PDT 2005



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.*

*


More information about the freebsd-questions mailing list