HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rexec fails on hpux host
Operating System - HP-UX
1832515
Members
4785
Online
110043
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
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
12-10-2003 11:34 AM
12-10-2003 11:34 AM
rexec fails on hpux host
Ho do i enable the rexec service on an hpux host. I have a windows host thats wants to rexec to a hpux 11.00 box but it fails to get a communication connection. how do i make it work ??
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 11:42 AM
12-10-2003 11:42 AM
Re: rexec fails on hpux host
For starters you need to have the 'exec' selection available, so the port can be opened.
# vi /etc/inetd.conf
uncomment the line, where it starts with
exec
Save the file
# inetd -c (refresh inetd)
This is no guarantee this will actually work, but shoud get your started.
# vi /etc/inetd.conf
uncomment the line, where it starts with
exec
Save the file
# inetd -c (refresh inetd)
This is no guarantee this will actually work, but shoud get your started.
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 11:53 AM
12-10-2003 11:53 AM
Re: rexec fails on hpux host
tried this, but still didnt work. How do i enable it for root access, i checked pam.conf but still had no joy with this.
The windows host tries to rexec host cmd
but cannot establish a connection to the hpux host!!
The windows host tries to rexec host cmd
but cannot establish a connection to the hpux host!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 02:08 PM
12-10-2003 02:08 PM
Re: rexec fails on hpux host
Since rexec can be a huge security risk, the rexecd on HP-UX tries to verify the incoming host. Since PCs are often based on a WINS server while Unix typically uses DNS. HP-UX will take the incoming IP address and resolve it to a hostname, then reverse the process to lookup the hostname and see the same IP address. This must succeed or the rexec will fail with no error message. Until nslookup can get a valid lookup in both directions, rexec will fail. WINS and DNS do not play well together.
rexec on the PC side will need some method to provide the .netrc information. In HP-UX, .netrc is a high risk file so permissions must be exact or it will silently fail. The PC rules are probably different. If you have a choice, use another HP-UX ox to perform an rexec test. This all assumes that you have not shutoff the service in /etc/inted.conf or disallowed rexec to your PC in the /var/adm/inetd.sec file.
Bill Hassell, sysadmin
rexec on the PC side will need some method to provide the .netrc information. In HP-UX, .netrc is a high risk file so permissions must be exact or it will silently fail. The PC rules are probably different. If you have a choice, use another HP-UX ox to perform an rexec test. This all assumes that you have not shutoff the service in /etc/inted.conf or disallowed rexec to your PC in the /var/adm/inetd.sec file.
Bill Hassell, sysadmin
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