Windows で rsh
SFU 3.5を使う方法、
1、カスタムインストールを選び、Remote Connectivityをチェック。
(※Win Server製品は、自動的に選択されるらしい。)
2、パスワード、グループファイルはブランクにして、default Windows domainを選択。
3、C:\WINNT\system32\drivers\etc\.rhostsを作成。
例1)
hostA userA
hostB userB
例2)
+ +
※)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RshSVc
の値で変更可能(デフォルト C:\WINNT\system32\drivers\etc)
4、C:\SFU\common\rshpswd.exeでパスワードを設定。
5、rsh localhost dirとして、確認。
トラブったら、コントロールパネル >> 管理ツール >> イベントビューア
自分は、↓のエラーに気がつかず、ツマヅイタ。
RshSvc function 'fopen: Unable to open .rhosts file exclusively' Failed.
viで作ってたファイルを削除して、notepadで作成すると普通に読めた。
C:\WINNT\system32\drivers\etc>notepad .rhosts
(※未確認だけども、Orthersのreadが拙かったのかもしれない?)
Ref.ついで。
C:\SFU\common>rshsvc.exe -remove
Remote Shell Service: Service Removed
C:\SFU\common>rshsvc.exe -install
Remote Shell Service: Service installed successfully
C:\SFU\common>rshsvc.exe -start -p
Remote Shell Service: Service started
C:\SFU\common>rshpswd
Enter your password:
C:\SFU\common>