Sunday, 29 July 2012

Configure Telnet & FTP

Steps to Configure telnet. 

1) Login as root user on the Server.

2) Edit the file /etc/xinetd.d/krb5-telnet

# vi /etc/xinetd.d/krb5-telnet

change the line " disable = yes" to " disable = no".
and exit from vi editor after saving the file.

3) Restart the service.

# service xinetd restart

Now we can able to connect to the Server from the windows host using telnet.


Steps to Configure FTP.

FTP Server is not enabled by default, we need to start the ftp service inorder to enable it.

# /etc/init.d/vsftpd start
Starting vsftpd for vsftpd: [ OK ]


If you want the vsftpd service to start and stop when recycling (rebooting) the machine, you can create the following symbolic links: 

# ln -s /etc/init.d/vsftpd /etc/rc3.d/S56vsftpd
# ln -s /etc/init.d/vsftpd /etc/rc4.d/S56vsftpd
# ln -s /etc/init.d/vsftpd /etc/rc5.d/S56vsftpd

No comments:

Post a Comment