1 |
I guessed it is the pam problem, and I re-installed netkit-rsh with |
2 |
USE=-pam, now I can use rsh with common users, but root still not |
3 |
work: |
4 |
|
5 |
# rsh -l wcw master date |
6 |
Tue Jan 6 23:33:35 CST 2009 |
7 |
|
8 |
# rsh -l root master date |
9 |
Permission denied. |
10 |
|
11 |
Everytime when I tried to use root to login, I got the error |
12 |
"Permission denied." |
13 |
|
14 |
master # cat /root/.rhosts |
15 |
node07 root |
16 |
node07 wcw |
17 |
|
18 |
master # ls -l /root/.rhosts |
19 |
-rw------- 1 root root 33 Jan 6 23:31 /root/.rhosts |
20 |
|
21 |
I guess maybe rsh does not allow to login as root. So anyway to solved |
22 |
this problem? |
23 |
|
24 |
Thanks! |
25 |
-- |
26 |
wcw |