rsh connections : rcmd: socket: Permission denied
I have two computers running Slackware 10.2 (Kernel 184.108.40.206, SMP Kernel on both computers), these are only connected to each other, so no connection to the internet or any other network. No "firewall" is up on both.
For several reasons i need rsh instead of ssh.
I have configured /etc/inetd.conf to allow rsh:
shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
login stream tcp nowait root /usr/sbin/tcpd in.rlogind
exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
Then on both computers the same user is set with ~/.rhosts on both computers
Then /etc/hosts.equiv is set on both computers, as well as /etc/hosts.allow which looks like this:
(to allow all connections from all hosts)
Again this two computers are only connected to each other via a small 2 port switch.
But when i try rsh rcp etc.. i get
rcmd: socket: Permission denied.
Can anybody tell me what else i could do try etc.. to get it working?
Is there another config file etc...