1. Install software package xinetd-2.3.10-6.i386.rpm in RHL first disc telnet-server-0.17-25.i386.rpm in RHL third disc first copy the two packages to the/root/RPM/directory in Fedora8, then install: # cd/root/RPM # rpm-ivhxinetd-2.3.10-6.i386.rpm # rpm-ivhtelnet-server-0.
1. install the software package
Xinetd-2.3.10-6.i386.rpm In the first RHL Disc
Telnet-server-0.17-25.i386.rpm in RHL's third Disc
Copy these two packages to the/root/RPM/directory in Fedora 8, and then install:
# Cd/root/RPM
# Rpm-ivh xinetd-2.3.10-6.i386.rpm
# Rpm-ivh telnet-server-0.17-25.i386.rpm
(You can also use the add and delete programs under fedora 8 to install telnet and vsftp in serch)
2. modify the configuration
# Cd/etc/xinetd. d
# Vi telnet
Find disable = yes and change yes to no. The content is as follows:
# Default: on
# Description: The telnet server serves telnet sessions; it uses \
# Unencrypted username/password pairs for authentication.
Service telnet
{
Flags = REUSE
Socket_type = stream
Wait = no
User = root
Server =/usr/sbin/in. telnetd
Log_on_failure + = USERID
Disable = no
# Disable = yes
}
3. Start the telnet service.
# Chkconfig xinetd on
# Service xinetd start
4. allow root users to log on
# Cd/etc
# Mv securetty. bak
5. Test the telnet service.
# Telnet 127.0.0.1
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Fedora release 8 (Werewolf)
Kernel 2.6.23.1-42. fc8 on an i686
Login: root
Password :********
Last login: Thu Aug 14 11:18:54 from 192.168.1.5
[Root @ localhost ~] # Exit
Connection closed by foreign host.
[Root @ localhost ~] #