Configuring the Telnet service with the FTP service

Source: Internet
Author: User
Tags ftp

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.