|
不知这里有谁在Linux下按照过loadrunner agent?
文档上介绍说要启动RSH,我怎么配置RSH都不成功,有谁知道,请告诉我,非常感谢。配置过程如下,也不知错在哪里?
Redhat Linux 9.0
[root@localhost /]# rpm -qa |grep rsh
rsh-0.17-14
rsh-server-0.17-14
通过ntsyv设置了rexec ,rlogin ,rsh三项服务自动启动。
[root@localhost /]# more /etc/xinetd.d/rsh
# default: on
# description: The rshd server is the server for the rcmd(3) routine and, \
# consequently, for the rsh(1) program. The server provides \
# remote execution facilities with authentication based on \
# privileged port numbers from trusted hosts.
service shell
{
disable = no
socket_type = stream
wait = no
user = root
log_on_success += USERID
log_on_failure += USERID
server = /usr/sbin/in.rshd
}
[root@localhost /]# more /root/.rhosts
192.168.0.108 root
[root@localhost /]# more /etc/hosts
127.0.0.1 localhost localhost
192.168.0.108 test
# more /etc/securetty
tty10
tty11
rexec
rlogin
rsh
/etc/init.d/xinetd restart
[root@localhost /]# netstat -na
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:512 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:513 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:514 0.0.0.0:* LISTEN
[root@localhost /]# lsof -i:512
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
xinetd 1110 root 5u IPv4 12444 TCP *:exec (LISTEN)
[root@localhost /]# lsof -i:513
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
xinetd 1110 root 6u IPv4 12445 TCP *:login (LISTEN) |
|