Wednesday, February 9, 2011

Telnet / FTP access

[root@dell ~]# chkconfig telnet on

[root@dell ~]# service xinetd reload

Reloading configuration: [ OK ]

[root@dell ~]# /etc/init.d/vsftpd start

Starting vsftpd for vsftpd: [ OK ]

[root@dell ~]# vi /etc/securetty

Simply edit the file /etc/securetty and add the following to the end of the file:

pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9

[root@dell ~]# vi /etc/vsftpd.ftpusers

[root@dell ~]# vi /etc/vsftpd.user_list

Edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the 'root' line from each file.

[root@dell ~]# ln -s /etc/init.d/vsftpd /etc/rc3.d/S56vsftpd

[root@dell ~]# ln -s /etc/init.d/vsftpd /etc/rc4.d/S56vsftpd

[root@dell ~]# ln -s /etc/init.d/vsftpd /etc/rc5.d/S56vsftpd