- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- RSH Problem on Linux.... (Permission Den...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-09-2007 03:25 AM
тАО08-09-2007 03:25 AM
RSH Problem on Linux.... (Permission Denied error)
I have configured rsh on linux box but i am getting error as Permission denied while doing rsh from other machines.If I place hostname in .rhosts than I am able to rsh.
Can anybody help in resolving this.
===========================
[root@aban root]# rsh -l root lnxr-moca-vm13 ls
Permission denied.
[root@aban root]#
===========================
following are the files which i have changed/configure.
[root@lnxr-moca-vm13 ~]# more .rhosts
+
[root@lnxr-moca-vm13 ~]#
[root@lnxr-moca-vm13 ~]# more /etc/hosts.equiv
+
[root@lnxr-moca-vm13 ~]#
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2007 04:08 AM
тАО08-09-2007 04:08 AM
Re: RSH Problem on Linux.... (Permission Denied error)
If there is a conflict between dns hostname resolution and the .rhosts file this is an expected result.
See that all systems involve resolve all host names the same way. When they do, this problem should go away.
Take a look at /var/log/messages for additional diagnostic information and post snippets to help us help you out.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2007 01:01 PM
тАО08-09-2007 01:01 PM
Re: RSH Problem on Linux.... (Permission Denied error)
I'd recommend that to don't use rsh at all. Its a very insecure protocol. You should use ssh which can be used as a complete replacement rsh.
Here is a very good write up of how to configure ssh.
http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-openssh-client-config.html
Cheers,
Philip.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2007 03:39 PM
тАО08-09-2007 03:39 PM
Re: RSH Problem on Linux.... (Permission Denied error)
Please refer to following URL, search pam_rhosts_auth in the doc.
http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam.html
hosts_equiv_rootok - allow the use of /etc/hosts.equiv for superuser. Without this option /etc/hosts.equiv is not consulted for the superuser account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2007 07:13 AM
тАО08-10-2007 07:13 AM
Re: RSH Problem on Linux.... (Permission Denied error)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2007 07:18 PM
тАО08-11-2007 07:18 PM
Re: RSH Problem on Linux.... (Permission Denied error)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2007 08:12 PM
тАО08-19-2007 08:12 PM