The RHEL/CentOS 5.4 telnet client is installed at /usr/kerberos/bin/telnet
. Your $PATH variable thus needs/usr/kerberos/bin
listed. (Preferably before /usr/bin) If for some reason you don't have that file installed, it's part of the packagekrb5-workstation
. Installing that package manually or via YUM should give you what you need.
You can check quick with which telnet
to see if it's found anywhere in your path.echo $PATH
to see what directories are being checked, and rpm -q krb5-workstation
to see if you have the package installed.
可以了。直接用命令“ yum -y install telnet"安装就行了