1850503 Members
1986 Online
104054 Solutions
New Discussion

Re: /etc/issue

 
SOLVED
Go to solution
roadrunner_1
Regular Advisor

/etc/issue

I changed the contents of this file to display a security warning...

But I do not get the new message. Also, when I look into the contents of the original issue file, it is different from the one which displays before the log in prompt....

I renamed the issue file and telnet again...but i get a different message..

Is there any other file which reads by default other then the /etc/issue file before the telnet prompt.

5 REPLIES 5
Rodney Hills
Honored Contributor
Solution

Re: /etc/issue

You do have the following line in your /etc/inetd.conf file right?

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue

This is what tells telnetd to use /etc/issue to be displayed at connection.

-- Rod Hills
There be dragons...
Joaquin Gil de Vergara
Respected Contributor

Re: /etc/issue

/etc/issue shows in console login

to view in telnet login you must add an option -b /tec/issue in the telnet inetd.conf file

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
Teach is the best way to learn
James R. Ferguson
Acclaimed Contributor

Re: /etc/issue

Hi:

If you want to use your modified '/etc/issue' as a 'telnet' banner, edit '/etc/inetd.conf' to read:

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b/etc/issue

Then, restart 'inetd':

# /usr/sbin/inetd -c

Regards!

...JRF...
roadrunner_1
Regular Advisor

Re: /etc/issue

Thanks for all ur replies...

There was a typo in the inetd.conf file...

I had typed isssue instead of issue...

No more points will be awarded hereafter...
Sean OB_1
Honored Contributor

Re: /etc/issue

edit your inetd.conf file and add "-b /etc/issue" to the end of the telnet line so it looks like this:

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue

As a side note, I also change the /etc/copyright to a generic copyright statement removing any system references.