2007年3月15日 星期四

UNIX. rsh with difference user

Test Env:
node A, UserA
host label list
rbmesf01_1
rbmesf01_2
rbmesf01p
rbmesf01

node B, UserB
host label list
rbmesf02_1
rbmesf02_2
rbmesf02p
rbmesf02

Test Scenario:
from nodeA with userA rsh nodeB execute userB's script.

How To Do:
1.login nodeB with userB
2. touch .rhosts ( at userB $HOME directory )
3. chmod 644 .rhosts
4. modify .rhosts add follow entries and save
rbmesf02_1 userA
rbmesf02_2 userA
rbmesf02p userA
rbmesf02 userA

or .rhosts
+ +

沒有留言: