- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- duplicate entries in /etc/services
Operating System - HP-UX
1822355
Members
5915
Online
109642
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
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
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
тАО05-16-2006 12:33 AM
тАО05-16-2006 12:33 AM
Hi folks,
I have a customer who wants to add an entry in /etc/services that would call for the same port/protocol of an existing entry. What would happen in this situation? Would the first entry get the port/protocol? Would the port/protocol no get assigned?
The same customer has the initial entry.
Thoughts?
Thanks,
Pat Moorhouse, T-Mobile
I have a customer who wants to add an entry in /etc/services that would call for the same port/protocol of an existing entry. What would happen in this situation? Would the first entry get the port/protocol? Would the port/protocol no get assigned?
The same customer has the initial entry.
Thoughts?
Thanks,
Pat Moorhouse, T-Mobile
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 12:39 AM
тАО05-16-2006 12:39 AM
Solution
Nothing happens if you just add entry to services file. you will have to restart indetd to take effect. Even if you restart inetd, first entry will be used and not second. Second would receive error message that port already in use or something similar.
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 12:40 AM
тАО05-16-2006 12:40 AM
Re: duplicate entries in /etc/services
Hi Pat:
Given your description, create an alias for the service. For example:
# shell 514/tcp cmd
...defines 'cmd' as an alias for 'shell'. See the manpages for 'services(4)' and 'getservent(3N)' for more information.
Regards!
...JRF...
Given your description, create an alias for the service. For example:
# shell 514/tcp cmd
...defines 'cmd' as an alias for 'shell'. See the manpages for 'services(4)' and 'getservent(3N)' for more information.
Regards!
...JRF...
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP