Operating System - HP-UX
1847719 Members
3749 Online
110265 Solutions
New Discussion

Re: Changing the telnet greeting

 
SOLVED
Go to solution
Jim Spencer_1
Occasional Contributor

Changing the telnet greeting

My system is running 11.0 A and when someone telnets from the outside they get a message telling them the system name and version of HP-UX. I would really like to change the message but have not been successful yet. I tried changing the telnet line in /etc/inetd.conf from;

telnet stream tcp nowait root /usr/lbin/telnetd telnetd

to

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

where in the issue file I have put a new greeting message. I have not rebooted the system yet. Any suggestions, ideas, thoughts?
There is a time to laugh and a time not to laugh, and this is not one of them.
6 REPLIES 6
Ian Dennison_1
Honored Contributor

Re: Changing the telnet greeting

/sbin/init.d/inetd -c

restarts the internet based services (should include telnet).

Share and Enjoy! Ian
Building a dumber user
Chris Wilshaw
Honored Contributor

Re: Changing the telnet greeting

You probably just need to get inetd to refresh its config.

Run inetd -c to do this, and you should pick up the changes.
Steven E. Protter
Exalted Contributor

Re: Changing the telnet greeting

Also, modify /etc/issue to warn about unautorized use of the system.

Thats a key legal requirement to prosecute people that breatk the rules.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor
Solution

Re: Changing the telnet greeting

Jim,

See this thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc264dfe5920fd5118fef0090279cd0f9,00.html

It suggests exactly your approach.


Pete


Pete
Jim Spencer_1
Occasional Contributor

Re: Changing the telnet greeting

I just restarted using /sbin/init.d/inetd -c, but to no avail. Any other ideas?
There is a time to laugh and a time not to laugh, and this is not one of them.
Tom Danzig
Honored Contributor

Re: Changing the telnet greeting

Remove the space between -b and /etc/issue in the inetd.conf file and restart inetd via "inetd -c".