HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need to define port in /etc/services ?
Operating System - HP-UX
1834457
Members
2712
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
01-28-2004 04:49 AM
01-28-2004 04:49 AM
Do we need to define ports in /etc/services in order for app to use that port ? ssh which runs on port 22 is not defined in services file but it runs fine. Why ? I have sshd daemon running though.
Basically, what's the purpose of inetd.conf and /etc/services file?
Thanks
Basically, what's the purpose of inetd.conf and /etc/services file?
Thanks
good judgement comes from experience and experience comes from bad judgement.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 04:52 AM
01-28-2004 04:52 AM
Re: need to define port in /etc/services ?
/etc/services only *really* serves as documentation, as you've discovered.
Pete
Pete
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 04:53 AM
01-28-2004 04:53 AM
Solution
Hi Sam,
Short answer - No.
Inetd.conf defines the commands to be executed when a request comes in on a specific port. Only services under inetd's control are controlled in this manner. inetd is a daemon in & of itself that "controls" services defined in it's .conf file.
sshd is it's own daemon & defines for itself what port to monitor & hence does not need neither an entry in inetd.conf nor /etc/services.
HTH,
Jeff
/etc/services is just basically a lookup table to reference ports to services.
Short answer - No.
Inetd.conf defines the commands to be executed when a request comes in on a specific port. Only services under inetd's control are controlled in this manner. inetd is a daemon in & of itself that "controls" services defined in it's .conf file.
sshd is it's own daemon & defines for itself what port to monitor & hence does not need neither an entry in inetd.conf nor /etc/services.
HTH,
Jeff
/etc/services is just basically a lookup table to reference ports to services.
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP