- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Chnaging telnet default port
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
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
08-28-2000 05:04 PM
08-28-2000 05:04 PM
Chnaging telnet default port
I want to chenge default telnet port of HPUX 11.x system.How can I do that.
Please help me in that.
Thanks
-Nagaraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 05:10 PM
08-28-2000 05:10 PM
Re: Chnaging telnet default port
change the following:
telnet 23/tcp
Change 23 to the new port, make sure the new port isnt already in /etc/services..
After making changes execute:
# inetd -c
# Telnet hostname:port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 05:15 PM
08-28-2000 05:15 PM
Re: Chnaging telnet default port
# telnet hostname port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 05:18 PM
08-28-2000 05:18 PM
Re: Chnaging telnet default port
You have to do the following:
1. Edit the /etc/services file to add the entry for your newtelnet eg.
# echo "newtelnet 12345/tcp #newtelnet port" >> /etc/services
2. modify your /etc/inetd.conf and comment out the entry for telnet; and create a new entry with the newtelnet entry:
# vi /etc/inetd.conf
(comment out the line with telnet)
(create a new line exactly like the commented line but replace telnet in the first column with "newtelnet" - you should have the following lines:
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
newtelnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
3. Now restart inetd (to re-read the config files) with
# inetd -c
do a netstat -a to make sure that you no longer have your server listening on the telnet port, but rather, the newtelnet port.
now you can test this by
# telnet server newtelnet
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 05:27 PM
08-28-2000 05:27 PM
Re: Chnaging telnet default port
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2000 08:33 AM
09-12-2000 08:33 AM
Re: Chnaging telnet default port
you sound like my employer!
my advice, disable telnet and go for ssh