Quote:
Originally Posted by chrism01
|
Unfortunately, when I got involved with the project, a lot of the interface documents had already been defined and baselined, so getting a change from rcp to scp is gonna take a loooooong process, and whether it happens or not is a different issue altogether.
Anyway, the Red Hat I'm using is version 5.2. As pointed out, xinetd is used instead of inetd.
I'm trying to do an rcp from the RHEL server to a Windows Vista workstation but keep getting connection refused. Trying to figure out why now.
Below are the updates I made. I also provide some info to help you guys have a clearer picture.
Workstation, Dell
=================
- Windows Vista
- 192.168.2.51
- User Accounts: RCP, DW
Server
======
- RHEL 5.2
- 192.168.2.7
- User Accounts: RCP, root
Noted that I created the RCP user account on both machine.
I also noted that the workstation do not have rcp/rsh... expected since its probably phased out. Because of this, I'm not sure now whether the rcp connection gets refused because Vista doesn't have it and therefore does not allow it?
I tried to copy the rcp file over but when I run a command, nothing happens.
I also updated the following files:-
(Note that I am able to ping between the two machines)
Workstation, Dell
=================
file: C:\Windows\System32\drivers\etc\hosts
192.168.2.7 LINUX
Server
======
file: /etc/hosts
192.168.2.51 WINDOWS
file: /etc/host.allow
rcpbind : 192.168.2.51/255.255.255.0 : allow
rcpbind : ALL : deny
In addition, I'm supposed to set the disable to no for rcp but in the /etc/xinetd.d/ folder, I don't see any rcp file. Do I create one?
Let me know if I'm doing anything wrong.
Thanks.