Hello,

On RHEL3, I need to allow users to execute a command on a remote host using rsh.
Like > rsh host command
But I have to configure the hosts to refuse connexions by rlogin.
Now I have created a /etc/nologin file, so rlogin on hosts is not allowed, but the command: rsh host command return a blank line and /var/log/messages on server gives:
Mar 24 12:05:17 host1 pam_rhosts_auth[19585]: allowed to vjxw37@host2 as vjxw37
Mar 24 12:05:17 host1 in.rshd[19585]: rsh denied to vjxw37@host2.com as vjxw37: Permission denied.

rsh-0.17-17.7
rsh-server-0.17-17.7

Any help or documentation would be really appreciated. Thanks in advance. Katia.