Hi, someone helpful:
I'm having trouble getting the 'rexec' command to work in Red Hat
6.0 (on several boxes). I haven't done any special security setup
on these boxes (I'm behind a firewall). I'm using the default
configuration in inetd.conf, and haven't added any entries to
/etc/hosts.allow or /etc/hosts.deny . I have set up ~/.rhosts
correctly (as per 'man 5 hosts_access') with permissions of 0600.
In all respects, my network setup works very well.
So: why does this command merely hang:
$ rexec stubble pwd
<... and it hangs interminably at this point>
... as does this one:
$ rexec -d -n stubble pwd
rexec: Host = stubble
rexec: Command to execute = pwd
Username at stubble: fred
<... and again it hangs interminably>
... but rsh works beautifully, and almost instantly:
$ rsh stubble pwd
I'm stumped. Thanks in advance for your help!