[comp.unix.questions] Question about rsh and passwords

6600bori@ucsbuxa.ucsb.edu (Boris Burtin) (06/09/91)

I've been trying to use rsh to read a tape drive located on another machine
on the network.  The problem is that if there is a password assigned to the
root on the other machine, I get "Permission Denied."  If I remove the root
password, it works fine.  The question is--is there any way to avoid this,
or to give rsh a password to use?  I couldn't figure this one out from 
reading the man page...
		- Boris Burtin
		(6600bori@ucsbuxa.ucsb.edu)

jc@raven.bu.edu (James Cameron) (06/09/91)

>>>>> On 8 Jun 91 19:57:31 GMT, 6600bori@ucsbuxa.ucsb.edu (Boris Burtin) said:

|> I've been trying to use rsh to read a tape drive located on another machine
|> on the network.  The problem is that if there is a password assigned to the
|> root on the other machine, I get "Permission Denied."  If I remove the root
|> password, it works fine.  The question is--is there any way to avoid this,
|> or to give rsh a password to use?  I couldn't figure this one out from 
|> reading the man page...
|> 		- Boris Burtin
|> 		(6600bori@ucsbuxa.ucsb.edu)


	What you need to do is to have a file /.rhosts on the machine 
	with the tape drive which looks like this:

machine.first.edu   root

	That should solve your problems.  *8-)  Take a look 
	at man hosts.equiv(5)

jc

--
					-- James Cameron  (jc@raven.bu.edu)

Signal Processing and Interpretation Lab.  Boston, Mass  (617) 353-2879
------------------------------------------------------------------------------
"But to risk we must, for the greatest hazard in life is to risk nothing.  For
the man or woman who risks nothing, has nothing, does nothing, is nothing."
	(Quote from the eulogy for the late Christa McAuliffe.)