Dear sir, i need ''rsh'' command to be executed successfully on the remote machine as well as on the local machine also.i am using redhat linux 6.2 for example if i give the command $rsh 172.31.63.32 -l user ls where ip address is the local machine.i got the fallowing error 172.31.63.32 : connection refused trying krb4 rsh..... 172.31.63.32 : connection refused trying normal rsh(/usr/bin/rsh) permission denied to overcome the above error i have done following changes in some files. in /etc/hosts.equiv and /home/usr/.rhosts i made the following entries. 172.31.63.32 user 172.31.63.27 user here 172.31.63.27 is the remote machine.for these files i have given permission rights 600. in hosts.allow i have added the following line rsh : ALL : ALLOW in /etc/nsswitch.conf i made the entry hosts: files [NOT ! FOUND=continue]dns i commented the securetty line in /etc/pam.d/rlogin #auth required /lib/security/pam_securetty.so simillarly i commented the line in /etc/pam.d/rexec & /etc/pam.d/rsh #auth required /lib/security/pam_nologin.so i renamed the file /etc/securetty to /etc/securetty_old inspite of all these modifications still ''rsh'' giving the above error message.i am desperately trying to solve this problem since a few days.please tell me if anybody have idea to solve this problem. i want to execute every command like rsh,rcp,telnet,ftp,exec,rexec etc on remote machine.in order to achive this what else modifications i need to do? thankyou. regards janardhan. --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo.