Bill Marcum <(E-Mail Removed)> writes:
]On Sat, 09 Oct 2004 18:54:18 GMT, Dam
] <(E-Mail Removed)> wrote:
]> Have you checked that user in hostB can write to /tmp directory.
]> (You should check this directly on hostB without connecting from hostA.)
]>
]> Bye
]> Damiano
]>
]>
]> Andy wrote:
]>
]>> I have two hosts -A & B
]>> host A can rcp file to host B by root a/c
]>> rcp abc.txt root@hostB:/tmp --> it is Ok
]>>
]>> but can't rcp file to host B by other user
]>>
]>> rcp abc.txt user@hostB:/tmp ,
]>> Permission denied.
That usually means that either abc.txt or the /tmp directory on B do not
have the right permissions.
]>>
]>> I have updated the hostB ~user/.rhosts
]>>
]>> #vi ~user/.rhosts
]>> + +
]>> hostB user
]>>
This is completely totallly and utterlyidiotic. Why in the world would you
want to give everyone in teh world the permission to log onto your machine
without a password. Even if your machine is not now on the net, it probably
will be sometime.
Also, use scp, not rcp. rcp is outdated and highly insecure.
]I think that should be "hostA user", and the .rhosts file should have
]600 permission.
]--
]System Events
]=-=-=-=-=-=-=
]Sep 16 03:31:11 don kernel: lp0 on fire
|