- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- r-command gives "permission denied"
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
11-04-2002 03:50 AM
11-04-2002 03:50 AM
r-command gives "permission denied"
Can you help me on this?
Since some days ago, the remsh command started working intermittently!!
some times it gives me "permission denied":
userA@nodeA:/users/userA> remsh nodeB -l userB -n df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t3d0s0 422967 269854 110823 71% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t3d0s3 25919 17782 5547 77% /var
/dev/dsk/c0t3d0s7 1440414 1089209 207165 85% /export/home
swap 87292 844 86448 1% /tmp
userA@nodeA:/users/userA> remsh nodeB -l userB -n df -k
permission denied
in the example above, I'm trying to remsh a solaris (nodeB) system, from HPUX (11.0 - nodeA), it works sometimes, but it also doesn't.
Also if I try to do it from another hpux system, it works without any problems!! why?
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 03:55 AM
11-04-2002 03:55 AM
Re: r-command gives "permission denied"
Bear in mind, the remote host has to be able to reverse lookup the name of the system that is sending it the request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 04:03 AM
11-04-2002 04:03 AM
Re: r-command gives "permission denied"
Permission denied is a generic message and in fact your problem could be related to name resolution. Second thing I found is that it could be related to your .rhosts file (do you use it or hosts.equiv ?) if it's NFS mounted. I have seen very old problems on hp-ux where remsh commands reacts differently depending on wether the .rhosts file was or not in cache. What is the mode of your .rhosts file and is it NFS mounted ?
Regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 04:06 AM
11-04-2002 04:06 AM
Re: r-command gives "permission denied"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 04:12 AM
11-04-2002 04:12 AM
Re: r-command gives "permission denied"
I've already tried with the IP address instead, but the result is the same.
Jean, the userB has the .rhosts file with permissions 755.
Stefan, I have the nodeA in /etc/hosts of nodeB, and the nsswitch.conf of nodeB has the following rule for looking-up addresses:
hosts: files dns
So, thanks for the answers, but I still have the problem :|
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 05:11 AM
11-04-2002 05:11 AM
Re: r-command gives "permission denied"
So your problem seems to be related to the source host ... Did you see any other new network related problem with this host NodeA ? Sometimes I've seen strange results with duplicate IPs (if someone has chosen recently the same IP as you NodeA).
Regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 08:44 AM
11-04-2002 08:44 AM
Re: r-command gives "permission denied"
the problem was that the system had 2 gateways and the packets were using them alternatively.
thanx for the responses.