- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- rsh is not working
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
06-15-2001 12:06 PM
06-15-2001 12:06 PM
rsh is not working
I have redhat 7.1. on system name master and node1.
I have these two package on master and node1.
rsh-0.17-2.5
rsh-server-0.17-2.5
When I run rsh command it gives me error
"Permisson Denied"
I have move /etc/securetty file. I have move /etc/pim.d/rsh file. I have + in my rhosts file. I have account on both system.
Am I missing something?
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-17-2001 11:32 AM
06-17-2001 11:32 AM
Re: rsh is not working
On the client side, make sure that the rsh binary has execute permissions. Moreover, if you are not root user, make sure that you have the proper rights on that binary.
Check the /etc/hosts file or the DNS configuration to make sure that the server name is properly resolved.
On the server side, make sure that the remote shell service is started. On my system running Mandrake 8.0, rsh is started "on-demand" using xinetd. Therefore, my /etc/xinetd.d/rsh file looks like this :
service shell
{
disable = no
socket_type = stream
wait = no
user = root
log_on_success += USERID
log_on_failure += USERID
server = /usr/sbin/in.rshd
}
You may note the "disable" option that is set to "no". Restart the eXtended inet daemon after any changes in the file :
/etc/rc.d/init.d/xinetd restart
To check if it is running :
netstat -a | grep shell
Check the /etc/hosts file or the DNS configuration to make sure that the client name is properly resolved.
After doing all of these if it still doesn't work, check the /etc/hosts.allow and /etc/hosts.deny file for security aspects. Try with empty file (security disabled).
Good luck,
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-18-2001 06:00 AM
06-18-2001 06:00 AM
Re: rsh is not working
I have changed rsh file on both system, restart xinetd but no luck. I do not have hosts.allow and hosts.deny file. Name resoultion work through /etc/hosts file. I can ping node from master and vice-versa.
Anymore idea?
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-19-2001 01:13 PM
06-19-2001 01:13 PM
Re: rsh is not working
It seems that your problem is not link to a network probem, however it looks like a permission problem.
On my RedHat 7.0 and Mandrake 8.0, the permissions of /usr/bin/rsh are -rwsr-xr-x.
Therefore, logon as root, change the /usr/bin/rsh permissions as follows, logout root and try again with your normal user ID :
chmod 4755 /usr/bin/rsh
chown root:root /usr/bin/rsh
As you may know, the set userID bit "s" makes the program execute as user root, even for non-root users. Programs having this bit set should be considered as security holes, unless they have been tested and tested and tested again.
Good luck
Kodjo
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-20-2001 02:47 AM
06-20-2001 02:47 AM
Re: rsh is not working
My default is : rw-rw-r--
This causes a "permission denied".
The permission bits should be: rw-r--r--
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-20-2001 06:32 AM
06-20-2001 06:32 AM
Re: rsh is not working
permissions on .rhosts file was wrong.
Sachin
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP