Re: /etc/issue "problem"

2005-05-02 Thread John Pettitt


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

*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/issue "problem"

2005-05-02 Thread Simon Striker
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
--
Simon Striker
Rusjanov trg 2
1000 Ljubljana  +38641473856
Europe (Slovenia)
E-mail: [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/issue "problem"

2005-05-02 Thread Simon Striker
Chuck Robey wrote:
I'm not certain it'll do what you want, I haven't played with it, but 
login.conf's man pager describes a field called login_prompt that seems 
like it would be worth a try, experimenting.
With parameter login_prompt I could only change the:
Login:
Password:
to
What ever:
Password:
But I still can not change the pre-login text with some text written in 
/etc/issue.

--
Simon Striker
Rusjanov trg 2
1000 Ljubljana  +38641473856
Europe (Slovenia)
E-mail: [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/issue "problem"

2005-05-02 Thread Chuck Robey
Lowell Gilbert wrote:
Simon Striker <[EMAIL PROTECTED]> writes:

I have a FreeBSD 5.3 installed and I want to show a pre-login text
when user wants to login to the server through a console or telnet.
I made an /etc/issue file and copied some text inside, but when I
telnet to the server, the text does not appear! (/etc/issue has 644
rights).
My /etc/gettytab includes:
default:\
:cb:ce:ck:lc:fd#1000:im=\r\n\Welcome!\r\n\r\n:sp#1200:
:if=/etc/issue:
Does enybody know where is the problem and how can I fix it?
I will be very grateful if someone will help me or give me a piece of
advice!
I'm not certain it'll do what you want, I haven't played with it, but 
login.conf's man pager describes a field called login.prompt that seems 
like it would be worth a try, experimenting.


Did you tell init(8) that you made the change?
You need to send it a SIGHUP...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/issue "problem"

2005-05-02 Thread Simon Striker
Hi!
Lowell Gilbert wrote:
Did you tell init(8) that you made the change?
You need to send it a SIGHUP...
Yes I did. I typed: "init q" command and the "problem" remains. I have 
also rebooted the server and nothing changed.

Do I have to do anything else? I have also searched with Google, but 
have not find anything ...
--

Simon Striker
Rusjanov trg 2
1000 Ljubljana  +38641473856
Europe (Slovenia)
E-mail: [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/issue "problem"

2005-05-02 Thread Lowell Gilbert
Simon Striker <[EMAIL PROTECTED]> writes:

> I have a FreeBSD 5.3 installed and I want to show a pre-login text
> when user wants to login to the server through a console or telnet.
> 
> I made an /etc/issue file and copied some text inside, but when I
> telnet to the server, the text does not appear! (/etc/issue has 644
> rights).
> 
> My /etc/gettytab includes:
> 
> default:\
>  :cb:ce:ck:lc:fd#1000:im=\r\n\Welcome!\r\n\r\n:sp#1200:
>  :if=/etc/issue:
> 
> Does enybody know where is the problem and how can I fix it?
> 
> I will be very grateful if someone will help me or give me a piece of
> advice!


Did you tell init(8) that you made the change?
You need to send it a SIGHUP...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


/etc/issue "problem"

2005-05-02 Thread Simon Striker
Hi!
I have a FreeBSD 5.3 installed and I want to show a pre-login text when 
user wants to login to the server through a console or telnet.

I made an /etc/issue file and copied some text inside, but when I telnet 
 to the server, the text does not appear! (/etc/issue has 644 rights).

My /etc/gettytab includes:
default:\
:cb:ce:ck:lc:fd#1000:im=\r\n\Welcome!\r\n\r\n:sp#1200:
:if=/etc/issue:
Does enybody know where is the problem and how can I fix it?
I will be very grateful if someone will help me or give me a piece of 
advice!

Best regards,
Simon
--
Simon Striker
Rusjanov trg 2
1000 Ljubljana  +38641473856
Europe (Slovenia)
E-mail: [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"