rcp issue using legacy bsdrcmds (r commands) package

I am trying to use the legacy rcp command and I get the following behaviour:

Code:
username@hostA:~ $ rcp myfile.tar username@hostB:/home/username/myfile.tar
rshd: Login incorrect.

username@hostA:~ $ rsh hostB -l username
rsh: can't exec /usr/bin/rlogin: No such file or directory

username@hostA:~ $ which rlogin
/usr/local/bin/rlogin

My understanding is that since the r commands were removed from the base system they are now under /usr/local/bin but the rsh command still expect rlogin to be in /usr/bin ?
If so, how do I report this issue to the maintainer -if any-?

Thanks,
 
it seems the problem is in base
/usr/include/paths.h

/usr/include/paths.h:#define _PATH_RLOGIN "/usr/bin/rlogin"

./work/bsdrcmds-20171003.01/rsh/rsh.c: execv(_PATH_RLOGIN, argv);
./work/bsdrcmds-20171003.01/rsh/rsh.c: err(1, "can't exec %s", _PATH_RLOGIN);
 
I have tried adding a symbolic link from /usr/local/bin/rsh and /usr/local/bin/rlogin to /usr/bin but it does not work.
So the issue being at base, is there any chance of that being fixed? r commands are legacy tools.
 
something should happen, it should be either fixed or removed in/from paths.h
somenone probably needs to file a bug report for this to happen
 
Back
Top