02-23-2010
rsh problem
Here's the deal. There are three RHEL 4 servers I cannot rsh into as root. One already has rsh in /etc/securetty. The other two didn't so I added rsh to it. Made no difference. Do I have to restart some service?
On the other hand, there's a 4th server I can rsh into as root but it does NOT have rsh in /etc/securetty.
All 4 servers have the same /.rhosts file with the entry in /etc/hosts and the same nsswitch.conf. They also have the same /etc/pam.d/rsh file.
Don't understand. Any suggestions? Thanks.
10 More Discussions You Might Find Interesting
1. Programming
Hi !
Please tell me how to get radio buttons, text boxes , check boxes , option buttons , pull down menus in C++ on Unix.
I think it would be done using curses.h ..but that's all i know.
TIA,
Devyani. (3 Replies)
Discussion started by: devy8
3 Replies
2. UNIX for Dummies Questions & Answers
Dear All
I am using rsh command to work with a remote tape drive. I am getting the message 'permission denied'. What should I do to get rid of this message.
Best Regards
Reza (1 Reply)
Discussion started by: Reza Nazarian
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I'm looking to get hold of a sun machine capable of running Solaris 9 to help me learn unix. I've been advised to look on e-bay, but am not sure of what to look for.
The below seems quite good.....
http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&category=1486&item=5707567514&rd=1
... (3 Replies)
Discussion started by: topcat8
3 Replies
4. Shell Programming and Scripting
Hello I'm serving on a ship that has frequent power issues. Currently if we loose power we need to rush around to multiple UNIX machines and login to Sysadmin and power down each machine before we loose our ups. If sysadmin is asleep or not in the space we have some real problems. I would like to... (2 Replies)
Discussion started by: blackfam972
2 Replies
5. Shell Programming and Scripting
Hi Gurus,
Trying to search in the forum but cant seem to find anything related.
I'm trying to run this script DWH_Housekeep.sh from the another server
This is my command:
rsh -l hulft 140.32.12.161 /usr/TRS/script/DWH_Housekeep.sh
permission denied
I get permission denied.
... (7 Replies)
Discussion started by: lweegp
7 Replies
6. Linux
Hi All,
Please help me how to install and configure rsh in Linux boxes and let me know where i get this software.
Thanks in advance...
Regards,
Sridhar. (3 Replies)
Discussion started by: sridhusha
3 Replies
7. Shell Programming and Scripting
Hi All,
I have two servers, say server1 and server2.
I have put the entries of both servers in /.rhosts file of both servers.
So, when I tried to run following from server1-
rsh server2 "ls"
Permission denied was printed on console.
Can anyone help me out?
Regards,
akash mahakode (4 Replies)
Discussion started by: akash_mahakode
4 Replies
8. AIX
I am getting an error from one node in a set with RSH setup between them, node one will connect to node two every other time (consistently), however node to connects to node one every time without problem. Here is what I am seeing, makes no sense to me. Can anyone help?
sbhcprdb01<root>: rsh... (6 Replies)
Discussion started by: JodyTek
6 Replies
9. Solaris
Hi,
we plan to purchase new sun solaris server M4000 for oracle erp as we have old servers we want to upgrade it with new servers and would like to know query related to it.
1)what is Operating system version will comes with new servers and bit size either 32 bit or 64 bit??
2)bit size... (2 Replies)
Discussion started by: maooah
2 Replies
10. Linux
hi
I have configured rsh-server and running rsh command on my fedora 14 machine while executing it shows permission denied, below is the output of the same.
# rsh localhost date
Permission denied.
#
but same works in other system
# rsh localhost date
Fri Nov 23 05:31:12 PST... (5 Replies)
Discussion started by: muzaffar.k
5 Replies
RSH(1C) RSH(1C)
NAME
rsh - remote shell
SYNOPSIS
rsh host [ -l username ] [ -n ] command
host [ -l username ] [ -n ] command
DESCRIPTION
Rsh connects to the specified host, and executes the specified command. Rsh copies its standard input to the remote command, the standard
output of the remote command to its standard output, and the standard error of the remote command to its standard error. Interrupt, quit
and terminate signals are propagated to the remote command; rsh normally terminates when the remote command does.
The remote username used is the same as your local username, unless you specify a different remote name with the -l option. This remote
name must be equivalent (in the sense of rlogin(1C)) to the originating account; no provision is made for specifying a password with a com-
mand.
If you omit command, then instead of executing a single command, you will be logged in on the remote host using rlogin(1C).
Shell metacharacters which are not quoted are interpreted on local machine, while quoted metacharacters are interpreted on the remote
machine. Thus the command
rsh otherhost cat remotefile >> localfile
appends the remote file remotefile to the localfile localfile, while
rsh otherhost cat remotefile ">>" otherremotefile
appends remotefile to otherremotefile.
Host names are given in the file /etc/hosts. Each host has one standard name (the first name given in the file), which is rather long and
unambiguous, and optionally one or more nicknames. The host names for local machines are also commands in the directory /usr/hosts; if you
put this directory in your search path then the rsh can be omitted.
FILES
/etc/hosts
/usr/hosts/*
SEE ALSO
rlogin(1C)
BUGS
If you are using csh(1) and put a rsh(1C) in the background without redirecting its input away from the terminal, it will block even if no
reads are posted by the remote command. If no input is desired you should redirect the input of rsh to /dev/null using the -n option.
You cannot run an interactive command (like rogue(6) or vi(1)); use rlogin(1C).
Stop signals stop the local rsh process only; this is arguably wrong, but currently hard to fix for reasons too complicated to explain
here.
4.2 Berkeley Distribution April 29, 1985 RSH(1C)