HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- About rsh
Operating System - HP-UX
1833717
Members
2593
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
06-30-2005 03:13 PM
06-30-2005 03:13 PM
I have two host ( hostA and hostB ) , now hostA can use " rsh -l userB hostB " to rsh to hostB without input the password , it work fine, but if I modify it to " rsh -l userB hostB -n "ls" " , it will pop the message "Permission denied." , could suggest what is wrong ? thx
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 05:23 PM
06-30-2005 05:23 PM
Re: About rsh
If this is hpux, "rsh" is the restricted shell so you may need to use remsh.
IF this is aix , rsh is the correct one , but the syntax does not look ok to me ! check the man pages
Kaps
IF this is aix , rsh is the correct one , but the syntax does not look ok to me ! check the man pages
Kaps
Nothing is impossible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 05:31 PM
06-30-2005 05:31 PM
Solution
Hi,
If you are talking about remote shell, then in HPUX the command is remsh.
The problem of "permission denied" can occue if you have a bad or missing ~.rhosts or /etc/hosts.equiv file. To check that give the following command (from hostA) and see if you are asked for password:
$ remsh -l userB hostB
If you are asked for password, then you have a missing or bad files...
Syntax for the above mentioned files is:
hostname username
See "man rhosts" for more inputs...
HTH,
Suraj
If you are talking about remote shell, then in HPUX the command is remsh.
The problem of "permission denied" can occue if you have a bad or missing ~.rhosts or /etc/hosts.equiv file. To check that give the following command (from hostA) and see if you are asked for password:
$ remsh -l userB hostB
If you are asked for password, then you have a missing or bad files...
Syntax for the above mentioned files is:
hostname username
See "man rhosts" for more inputs...
HTH,
Suraj
What we cannot speak about we must pass over in silence.
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