<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4644156282758805811</id><updated>2024-10-24T20:33:31.125-07:00</updated><category term="Configuring FTP and Telnet In Redhat"/><category term="ftp configuration"/><category term="telnet configuration"/><title type='text'>Configuring FTP and Telnet</title><subtitle type='html'>This blog posts includes articles useful to oracle database administrators.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://arunsreedhar.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4644156282758805811/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://arunsreedhar.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Arun</name><uri>http://www.blogger.com/profile/13166836403810045865</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4644156282758805811.post-8502469899587188384</id><published>2010-07-29T23:45:00.001-07:00</published><updated>2010-07-29T23:45:43.583-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Configuring FTP and Telnet In Redhat"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp configuration"/><category scheme="http://www.blogger.com/atom/ns#" term="telnet configuration"/><title type='text'>Configuring FTP and Telnet In Redhat</title><content type='html'>&lt;a href=&quot;&quot; name=&quot;Red Hat (RHEL3 / RHEL4)&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;color: #000099;&quot;&gt;Red Hat Enterprise Linux: RHEL3 / RHEL4&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;Red Hat (RHEL3 / RHEL4)&quot;&gt;&lt;blockquote&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;u&gt;Enabling Telnet and FTP Services&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;blockquote&gt;Linux is configured to run the Telnet and FTP server, but by default, these services are not enabled. To enable the telnet service, login to the server as the root user account and run the following commands:&lt;pre&gt;# &lt;b&gt;chkconfig telnet on&lt;/b&gt;
# &lt;b&gt;service xinetd reload&lt;/b&gt;
Reloading configuration: [  &lt;span style=&quot;color: green;&quot;&gt;OK&lt;/span&gt;  ]&lt;/pre&gt;Starting with the Red Hat Enterprise Linux 3.0 release (and in CentOS Enterprise Linux), the FTP server&amp;nbsp;&lt;i&gt;(wu-ftpd)&lt;/i&gt;&amp;nbsp;is no longer available with&amp;nbsp;&lt;code&gt;xinetd&lt;/code&gt;. It has been replaced with&amp;nbsp;&lt;tt&gt;&lt;b&gt;vsftp&lt;/b&gt;&lt;/tt&gt;&amp;nbsp;and can be started from&amp;nbsp;&lt;tt&gt;/etc/init.d/vsftpd&lt;/tt&gt;&amp;nbsp;as in the following:&lt;br /&gt;
&lt;pre&gt;# &lt;b&gt;/etc/init.d/vsftpd start&lt;/b&gt;
Starting vsftpd for vsftpd:         [ &lt;span style=&quot;color: green;&quot;&gt;OK&lt;/span&gt; ]&lt;/pre&gt;If you want the&amp;nbsp;&lt;tt&gt;vsftpd&lt;/tt&gt;&amp;nbsp;service to start and stop when recycling (rebooting) the machine, you can create the following symbolic links:&lt;pre&gt;# &lt;b&gt;ln -s /etc/init.d/vsftpd /etc/rc3.d/S56vsftpd&lt;/b&gt;
# &lt;b&gt;ln -s /etc/init.d/vsftpd /etc/rc4.d/S56vsftpd&lt;/b&gt;
# &lt;b&gt;ln -s /etc/init.d/vsftpd /etc/rc5.d/S56vsftpd&lt;/b&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;u&gt;Allowing Root Logins to Telnet and FTP Services&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;Now before getting into the details of how to configure Red Hat Linux for root logins, keep in mind that this is VERY BAD security. Make sure that you NEVER configure your production servers for this type of login.&lt;u&gt;&lt;b&gt;Configure Telnet for root logins&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
Simply edit the file&amp;nbsp;&lt;code&gt;/etc/securetty&lt;/code&gt;&amp;nbsp;and add the following to the end of the file:&lt;br /&gt;
&lt;pre&gt;pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9&lt;/pre&gt;This will allow up to 10 telnet sessions to the server as root.&lt;u&gt;&lt;b&gt;Configure FTP for root logins&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
Edit the files&amp;nbsp;&lt;code&gt;/etc/vsftpd.ftpusers&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code&gt;/etc/vsftpd.user_list&lt;/code&gt;&amp;nbsp;and remove the &#39;&lt;code&gt;root&lt;/code&gt;&#39; line from each file.&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/a&gt;&lt;a href=&quot;&quot; name=&quot;Red Hat (RHEL3 / RHEL4)&quot;&gt;&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4644156282758805811/posts/default/8502469899587188384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4644156282758805811/posts/default/8502469899587188384'/><link rel='alternate' type='text/html' href='http://arunsreedhar.blogspot.com/2010/07/configuring-ftp-and-telnet-in-redhat.html' title='Configuring FTP and Telnet In Redhat'/><author><name>Arun</name><uri>http://www.blogger.com/profile/13166836403810045865</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>