If the telnet and ftp services are not running it is required to run the ftp deamon services. It will start the telnet and ftp servers.
1. Red Hat Enterprise Linux: RHEL3 / RHEL4
Enabling Telnet and FTP Services
Do the steps below
#login as root
#chkconfig telnet on
#service xinetd reload
Reloading configuration: [ OK ]
For RHEL 3.0 release, the FTP server command is
#/etc/init.d/vsftpd start
Starting vsftpd for vsftpd: [ OK ]
Configure Telnet for root logins
To allow the n number of telnet sessions as root edit the file /etc/securetty and add the following to the end of the file:
pts/0
pts/1
.
.
.
pts/n
Configure FTP for root logins
Edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the 'root' line from each file.
2. Red Hat (Fedora Core 1 / Core 2)
Enabling Telnet and FTP Services
Do the steps below
# login as root
# edit the files :
/etc/xinetd.d/telnet
/etc/xinetd.d/wu-ftpd
In these files, find the line for disable and change its value from "yes" to "no".
Restart the xinetd deamon now.
#/etc/init.d/xinetd reload
For Fedora Core 1 release, the command is
#/etc/init.d/vsftpd start
Configure Telnet for root logins
To allow the n number of telnet sessions as root edit the file /etc/securetty and add the following to the end of the file:
pts/0
pts/1
.
.
.
pts/n
Configure FTP for root logins
Edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the 'root' line from each file.
3. Red Hat (Release 7.x - 8.x)
Enabling Telnet and FTP Services
Do the steps below
# login as root
# edit the files:
/etc/xinetd.d/telnet
/etc/xinetd.d/wu-ftpd
In these files, find the line for disable and change its value from the "yes" to "no".
Restart the xinetd deamon now.
# /etc/init.d/xinetd reload
Configure Telnet for root logins
To allow the n number of telnet sessions as root edit the file /etc/securetty and add the following to the end of the file:
pts/0
pts/1
.
.
.
pts/n
Configure FTP for root logins
Edit the file /etc/ftpaccess and comment out the 'deny-uid' and 'deny-gid' lines. Remove the 'root' line from /etc/ftpusers.