- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Telnet message login...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:34 AM
04-04-2006 02:34 AM
I would like change the mnessage I have when I do a telnet on a server.
--------------------------------------
HP-UX sade110 B.11.00 U 9000/800 (tc)
login:
--------------------------------------
I would like remove the sentence "HP-UX sade110 B.11.00 U 9000/800 (tc)" before login prompt, someone knows where is the file which manages this ?
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:39 AM
04-04-2006 02:39 AM
SolutionEdit your '/etc/inetd.conf' entry for 'telnet' and specify a "banner" file of your choice with the '-b' option and argument. It should look something like:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/msgs/banner
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:41 AM
04-04-2006 02:41 AM
Re: Telnet message login...
Oh, and having editted 'inetd.conf' restart the daemon with:
# /usr/sbin/inetd -c
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:42 AM
04-04-2006 02:42 AM
Re: Telnet message login...
Edit the /etc/issue file and check the /etc/initd.conf for this line
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
after editing the initd.conf restart inetd with the command "/etc/inetd -c"
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:44 AM
04-04-2006 02:44 AM
Re: Telnet message login...
you need to create a new welcome text file, let's say /etc/mytelnet.txt
and change telnetd entry in /etc/inetd.conf to
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/mytelnet.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:48 AM
04-04-2006 02:48 AM
Re: Telnet message login...
And if I use /usr/adm/inetd.sec file ?
What is the syntax ?
Thanks ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:52 AM
04-04-2006 02:52 AM
Re: Telnet message login...
The manpages for 'inetd.sec(4)' will describe the syntax of the file. In fact, when looking for any configuration file layout, look in section-4 of the manpages. That's where file layouts are found:
http://docs.hp.com/en/B2355-60127/inetd.sec.4.html
Regards!
...JRF...