RHEL 6 plain telnet & ftp servers

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat RHEL 6 plain telnet & ftp servers
# 1  
Old 12-06-2012
RHEL 6 plain telnet & ftp servers

I am being pushed from AIX onto RHEL 6 and after our first 'chuck it on' install, I have a problem. Where is the old (okay insecure) telnet & ftp server? I know that they are probably regarded as archaic now, but the source servers do not have the SSH tools, so I've got to somehow transfer the data.

Apart from this, I have CRT from VanDyke which is very nice, but the company will not pay the upgrade fee to get the SSH version, so that's going to be a pain.

I do have a closed network, so I'm not too worried about packet snooping.


For a 20+ year support of AIX (with forays into and eventually out of Solaris, SCO Unixware, Dynix, TI-UX) & HP-UX, I'm feeling especially vulnerable as I've never been so stuck. Internet searches send me all over the place without a good target. Smilie

I don't even have the client side tools installed.
Code:
# time find / -name telnet -o -name ftp        
/var/ftp

real    0m0.40s
user    0m0.19s
sys     0m0.20s
# time find / -name telnetd -o -name ftpd

real    0m0.40s
user    0m0.19s
sys     0m0.21s
#



Any suggestions? (without laughing please) Smilie

If I can get the executables, I am happy to set up inetd.conf - oh no! Smilie Where's that gone now? Smilie What's all this almost empty /etc/inittab? Smilie

Despair! Smilie At least from HP-UX I've got the lvm commands such as vgdisplay.

I was aware of a reference sheet to ease conversions, but I can't seem to find that at the moment either. Maybe I'm just having a bad day. Smilie




Robin
# 2  
Old 12-06-2012
Quote:
Originally Posted by rbatte1
I am being pushed from AIX onto RHEL 6 and after our first 'chuck it on' install, I have a problem. Where is the old (okay insecure) telnet & ftp server? I know that they are probably regarded as archaic now, but the source servers do not have the SSH tools, so I've got to somehow transfer the data.
Install the 'ftp' and 'telnet' packages for the commandline utilities, I think 'telnetd' for telnet server(unsure), and 'proftpd' for a pretty decent FTP server.

Maybe you have xinetd instead of inetd? Being a service wrapper, it's always been kind of optional -- I've personally never understood the use, some distros have it, some don't. On systems which don't, network daemons would just be system services.
# 3  
Old 12-06-2012
Quote:
I've personally never understood the use, some distros have it, some don't
True, xinetd is not that much used now a days. But it sure does a good job of make the system resources available for other use. For an example, a PXE server serving TFTP requests. Now, do you really install OSes 24x7? So there's really no use of TFTP server daemon running all the time consuming memory and doing close to nothing. But, if it's controlled by xinetd, the service only started when you get a request. A server which serves occasional ftp requests, can actually use xinetd.

Well, RHEL 6 has vsftpd as the FTP server and telnet-server package for the telnet server. To install these pacakges, you would have to make use of the installation DVD as yum repository. Let me help you with that:

1. Create a file /etc/yum.repos.d/local.repo with the following contents:
Code:
[LocalRepo]
name=DVD Repo
baseurl=file:///mnt/dvd
enabled=1
gpgcheck=0

2. Create a dir /mnt/dvd and mount the DVD there
Code:
mount -t iso9660 -o ro /dev/sr0 /mnt/dvd

3. Use yum command to install the packages
Code:
yum install vsftpd telnet-server xinetd -y

/etc/inittab is almost empty because Sys V init has been abandoned to embrace upstart which can start multiple services simultaneously reducing the overall boot time. /etc/inittab is there just to define the default runlevel.

Hope this gets you started! Smilie
These 2 Users Gave Thanks to admin_xor For This Post:
# 4  
Old 12-07-2012
Many thanks. Smilie Food for thought. We don't actually have original media Smilie but I think that the media images were copied onto the base server that we have cloned, so it seems to find them Smilie:-

Code:
# yum whatprovides vsftpd telnet-server xinetd
Loaded plugins: product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
vsftpd-2.2.2-6.el6.x86_64 : Very Secure Ftp Daemon
Repo        : rhel-x86_64-server-6
Matched from:



vsftpd-2.2.2-6.el6_2.1.x86_64 : Very Secure Ftp Daemon
Repo        : rhel-x86_64-server-6
Matched from:



vsftpd-2.2.2-6.el6_0.1.x86_64 : Very Secure Ftp Daemon
Repo        : rhel-x86_64-server-6
Matched from:



vsftpd-2.2.2-11.el6.x86_64 : Very Secure Ftp Daemon
Repo        : rhel-x86_64-server-6
Matched from:



1:telnet-server-0.17-47.el6_3.1.x86_64 : The server program for the Telnet
                                       : remote login protocol
Repo        : rhel-x86_64-server-6
Matched from:



1:telnet-server-0.17-47.el6.x86_64 : The server program for the Telnet remote
                                   : login protocol
Repo        : rhel-x86_64-server-6
Matched from:



1:telnet-server-0.17-46.el6.x86_64 : The server program for the Telnet remote
                                   : login protocol
Repo        : rhel-x86_64-server-6
Matched from:



2:xinetd-2.3.14-31.el6.x86_64 : A secure replacement for inetd
Repo        : rhel-x86_64-server-6
Matched from:



2:xinetd-2.3.14-34.el6.x86_64 : A secure replacement for inetd
Repo        : rhel-x86_64-server-6
Matched from:



2:xinetd-2.3.14-29.el6.x86_64 : A secure replacement for inetd
Repo        : rhel-x86_64-server-6
Matched from:



2:xinetd-2.3.14-35.el6_3.x86_64 : A secure replacement for inetd
Repo        : rhel-x86_64-server-6
Matched from:



2:xinetd-2.3.14-33.el6.x86_64 : A secure replacement for inetd
Repo        : rhel-x86_64-server-6
Matched from:



vsftpd-2.2.2-11.el6.x86_64 : Very Secure Ftp Daemon
Repo        : installed
Matched from:
Other       : Provides-match: vsftpd


We will have 'fun' no doubt. Am I right in my reading that csftp is on port 21 therefore will accept plain old FTP?


Thanks again, Smilie
Robin

---------- Post updated at 03:39 PM ---------- Previous update was at 12:56 PM ----------

YES!

SmilieSmilieSmilie
# 5  
Old 12-07-2012
Quote:
Am I right in my reading that csftp is on port 21 therefore will accept plain old FTP?
Yes, vsftpd works on the same old ftp protocol and supports both active and passive modes. But, it's really tightly secured. That's why the name "Very Secure FTP daemon" Smilie
This User Gave Thanks to admin_xor For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash - here document on RHEL 6.8 and 6.9 servers aren't working

H Forum, I was thankful in getting help from this post that allowed me to connect to multiple severs at once using here documents to gather data into variables. But I've discovered that the same bash command that works on my RHEL 7 servers do not work on RHEL 6? What's strange about my... (4 Replies)
Discussion started by: greavette
4 Replies

2. Red Hat

RHEL 7.1 autofs permissions do not match NFS servers

RHEL 7.1 client using autofs to mount a NIS map of home directories being exported by a Solaris 10x86 nfs server. The owner and group are correct on the NFS server, but on the RHEL client, the owner and group end up being nobody nobody. The USERS and GROUPS are NIS maps as well. They are... (2 Replies)
Discussion started by: mrmurdock
2 Replies

3. Red Hat

cannot ssh (use NFS) on RHEL box, but can mount external & ssh out of RHEL box

Ok, Im trying to get NFS working on my RHEL 5 box, apparently i can use the box as a client, but not as a server. If it helps i cant ssh into the box (server), but as a client ssh works fine. Ive configured server: /etc/hosts.allow: all : all all :all@all setup my /etc/exports file... (4 Replies)
Discussion started by: drs.grid
4 Replies

4. Red Hat

cfengine / puppet for rhel servers

Hello all, I am planning to deploy a configuration / auditing software package for about 100 new nodes that we are planning to install. I am hearing many good things in regards to cfengine and puppet. Can someone shed some light in regards to these solutions? Thanks, jaysunn (1 Reply)
Discussion started by: jaysunn
1 Replies

5. Shell Programming and Scripting

Automated FTP script using .netrc to multiple FTP servers

Hi all, I'm using the following script to automated ftp files to 1 ftp servers host=192.168.0.1 /usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp open $host bin cd ${directory} put $files quit ftp and the .netrc file contain machine 192.168.0.1 login abc... (4 Replies)
Discussion started by: varu0612
4 Replies

6. UNIX for Advanced & Expert Users

RHEL 4, simltaneous maximum ftp/telnet sessions allowed

Hi Users, Kindly help me with below query of mine. Using Red Hat Linux Enterprise Edition as the client how many simultaneous 1) Maximum FTP sessions are allowed 2) Maximum Telnet sessions are allowed 3) any special settings need to be enabled for maximum telnet and ftp sessions on... (2 Replies)
Discussion started by: newbie07
2 Replies

7. Red Hat

RHEL 4, simltaneous maximum ftp/telnet sessions allowed

Hi Users, Kindly help me with below query of mine. Using Red Hat Linux Enterprise Edition as the client how many simultaneous 1) Maximum FTP sessions are allowed 2) Maximum Telnet sessions are allowed 3) any special settings need to be enabled for maximum telnet and ftp sessions on... (2 Replies)
Discussion started by: newbie07
2 Replies

8. Red Hat

telnet & ftp in linux AS4 with root account

hi, i installed linux as4, i need telnet and ftp with root account. anybody show me how to configure. TIA, Bong (3 Replies)
Discussion started by: bong02
3 Replies

9. UNIX for Advanced & Expert Users

diable telnet & ftp

Hi All, I need to stop all the services for telnet & FTP as we want our server to be more secure. Please give me some steps for jumping to SSH protocol. How can i disable telnet & ftp service on my server. (1 Reply)
Discussion started by: pradeep_desh
1 Replies
Login or Register to Ask a Question