HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rresvport: bind: permission deneid
Operating System - HP-UX
1833780
Members
2365
Online
110063
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
07-04-2002 01:30 AM
07-04-2002 01:30 AM
I need to rcp -r -p hostname:/path/* /path
Not as root bud as a user.
When i do this i get the message:
rresvport: bind: permission denied
This seems to be something else then the "normal" permission denied because i can't seem to solve this by adjusting the .rhost .host.equiv etc.
Can anyone help me with this?
Not as root bud as a user.
When i do this i get the message:
rresvport: bind: permission denied
This seems to be something else then the "normal" permission denied because i can't seem to solve this by adjusting the .rhost .host.equiv etc.
Can anyone help me with this?
You never walk alone
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 01:47 AM
07-04-2002 01:47 AM
Solution
Hi,
Your problem will occur for normal users and not for root. This is because root privileges are needed.
According to a man page on rresvport, the rresvport() function is used to obtain a socket with a privileged ad-dress bound to it. This socket is suitable for use by rcmd() and several other functions. Privileged Internet ports are those in the range 0 to 1023. Only the super-user is allowed to bind an address of this sort to a socket.
Thus, you have to check the permissions of your rsh i.e.
# ll `which rsh`
Make sure that the setuid bit is set. If it isn't, set it.
# chmod 4755 `which rsh`
Hope this helps. Regards.
Steven Sim Kok Leong
Your problem will occur for normal users and not for root. This is because root privileges are needed.
According to a man page on rresvport, the rresvport() function is used to obtain a socket with a privileged ad-dress bound to it. This socket is suitable for use by rcmd() and several other functions. Privileged Internet ports are those in the range 0 to 1023. Only the super-user is allowed to bind an address of this sort to a socket.
Thus, you have to check the permissions of your rsh i.e.
# ll `which rsh`
Make sure that the setuid bit is set. If it isn't, set it.
# chmod 4755 `which rsh`
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 02:15 AM
07-04-2002 02:15 AM
Re: rresvport: bind: permission deneid
Hello Steven
Thank you very much for resolving this!
Guess wat happened.
According to your answer i checked the /usr/bin directory. Everything is 777 there! AAAAAAAAAAAAAAARG! How did this happen!!
I wil have a word with my colleges who know the root account of this machine. Someone has to have made a mistake with the chmod -R command the wrong path.
I wil quikly compare this with other machines and put the permissions and s bits right again.
Raymond
Thank you very much for resolving this!
Guess wat happened.
According to your answer i checked the /usr/bin directory. Everything is 777 there! AAAAAAAAAAAAAAARG! How did this happen!!
I wil have a word with my colleges who know the root account of this machine. Someone has to have made a mistake with the chmod -R command the wrong path.
I wil quikly compare this with other machines and put the permissions and s bits right again.
Raymond
You never walk alone
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