RSH command execution is throwing permission denied error as shown below.
Reason: host2 machine user1 home directory missing .rhosts file
FIX: Connect host2 machine, goto user1 home directory and create .rhosts file.
Provide the file permission as 0600 to file .rhosts and try RSH command now.. :)
host1> /usr/bin/rsh -l user1 host2 "ls /user1"
Permission denied.
Permission denied.
Reason: host2 machine user1 home directory missing .rhosts file
FIX: Connect host2 machine, goto user1 home directory and create .rhosts file.
Provide the file permission as 0600 to file .rhosts and try RSH command now.. :)
No comments:
Post a Comment