To configure the Telnet service:
(1) with vi command to edit/etc/hosts.deny file, let go of Telnet login rights control
# Vi/etc/hosts.deny
Sign the line with the "#" note in front of the All:all line.
(2) Edit/etc/hosts.allow file with vi command, release root user login right control
Add a row All:all
(3) Edit/etc/xinetd.d/telnet file with vi command, let go of Telnet
Unregister disable=yes with "#" or modify it to Disble=no
(4) command edit/etc/pam.d/login file, release root user login rights control
# Vi/etc/pam.d/login
Sign the line before the Auth required/lib/security/pam_securetty.so line with the "#" note.
(5) Start xinetd service
#/etc/init.d/xinetd Restart
To configure the FTP service:
(1) Edit/etc/xinetd.d/tftp file with vi command, let go of Telnet
Unregister disable=yes with "#" or modify it to Disble=no
(2) Start the FTP service
# Service XINETD Restart
# Service Iptables Stop
# service Vsftp Start