System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

remote shell ( remsh ) problem

madhudeepan
Frequent Advisor

remote shell ( remsh ) problem

remsh hostname -l username -n /home/user1/test

test file contain who -r ( just for example )

when i run username as root, its fine

remsh hostname -l root -n /home/user1/test

but when i used a user in that host such as

remsh hostname -l oracle -n /home/user1/test

i am getting remsh:login incorrect

i have added entry in /etc/hosts.equiv file and .rhost file .. and in home dir of oracle i have touched .rhost file and added host name & user name in tat
2 REPLIES
OldSchool
Honored Contributor

Re: remote shell ( remsh ) problem

"i have added entry in /etc/hosts.equiv file and .rhost file .. and in home dir of oracle i have touched .rhost file and added host name & user name in tat"

the contents of those files, and "ls -l" of those files, and the actual command issued would be useful.
OldSchool
Honored Contributor

Re: remote shell ( remsh ) problem

"....actual command issued would be useful."

as would the server name / user name issuing the remsh command...