Wednesday, January 12, 2011

Open linux platform ftp/telnet service

After installing Redhat, you need to set up Ftp and Telnet service file to start the Ftp and Telnet service that can be opened by remote control.

1.1, root user login, enter the Terminal command mode; 1.2, open the FTP service. Cd/etc/xinetd.d, edit the FTP service configuration file settings gssftp: Figure 1 opening the FTP service setup. Vigssftp, modifies two things: (1) server_args =-l – a remove-a changed to server_args =-l (2) disable = yes to disable = no (3) withdrawal. 1.3, open telnet service cd/etc/xinetd.d, see telnet service profile krb5-telnet settings: Figure 2 open telnet service settings vikrb5-telnet, (1) will disable = yes, to disable = no, save and exit. 1.4, activate services: telnet/ftp is hanging in the xinetd under, so naturally just reactivate xinetd can be set to restart xinetd wrote it in, so just read set Telnet/ftp naturally can be activated. Active Directory and the command: cd/etc/rc.d/init.d/servicexinetdrestart sometimes prompt command does not exist, you need to add the path to the root on the command @ localhost init.d] # servicexinetdresart bash: service: commandnotfound root @ localhost init.d] #/sbin/servicexinetdrestart Figure 3 restart FTP, Telnet service 1.5 connected to the TP Figure 4 connection TP, if the host has set up DNS, do not know why the FTP connection is a bit slow, when the company looks after normal, if you remove the DNS like you do not have this problem.

No comments:

Post a Comment