<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need small help on FTP access in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-small-help-on-ftp-access/m-p/3843720#M24700</link>
    <description>Shalom Girish,&lt;BR /&gt;&lt;BR /&gt;If the user always has the same host name you can deny access based on ip address with iptables, only on ports 20 and 21.&lt;BR /&gt;&lt;BR /&gt;You control this with vsftpd.conf&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://vsftpd.beasts.org/vsftpd_conf.html" target="_blank"&gt;http://vsftpd.beasts.org/vsftpd_conf.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://elibrary.fultus.com/technical/topic/com.fultus.redhat.elinux4/manuals/rhel-rg-en-4/s2-ftp-vsftpd-conf.html" target="_blank"&gt;http://elibrary.fultus.com/technical/topic/com.fultus.redhat.elinux4/manuals/rhel-rg-en-4/s2-ftp-vsftpd-conf.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 15 Aug 2006 12:23:41 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-08-15T12:23:41Z</dc:date>
    <item>
      <title>Need small help on FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-small-help-on-ftp-access/m-p/3843719#M24699</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I have vsftp server installed on SUSE Linux 9.0 OS. &lt;BR /&gt;&lt;BR /&gt;I need to deny ftpuser (its a user account) all the access services except performing ftp to the server.&lt;BR /&gt;&lt;BR /&gt;Please scrap in with the solutions.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Girish&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Aug 2006 11:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-small-help-on-ftp-access/m-p/3843719#M24699</guid>
      <dc:creator>girishb</dc:creator>
      <dc:date>2006-08-15T11:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need small help on FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-small-help-on-ftp-access/m-p/3843720#M24700</link>
      <description>Shalom Girish,&lt;BR /&gt;&lt;BR /&gt;If the user always has the same host name you can deny access based on ip address with iptables, only on ports 20 and 21.&lt;BR /&gt;&lt;BR /&gt;You control this with vsftpd.conf&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://vsftpd.beasts.org/vsftpd_conf.html" target="_blank"&gt;http://vsftpd.beasts.org/vsftpd_conf.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://elibrary.fultus.com/technical/topic/com.fultus.redhat.elinux4/manuals/rhel-rg-en-4/s2-ftp-vsftpd-conf.html" target="_blank"&gt;http://elibrary.fultus.com/technical/topic/com.fultus.redhat.elinux4/manuals/rhel-rg-en-4/s2-ftp-vsftpd-conf.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 15 Aug 2006 12:23:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-small-help-on-ftp-access/m-p/3843720#M24700</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-15T12:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need small help on FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-small-help-on-ftp-access/m-p/3843721#M24701</link>
      <description>Just use for that user a shell which only allows ftp. For instance, you could have in /etc/passwd:&lt;BR /&gt;ftp:x:14:50:FTP User:/archives/arhive:/sbin/nologin&lt;BR /&gt;&lt;BR /&gt;Depending on your needs, you could also chroot the user in its home dir (see the man page). Please also verify if you need (or not) to add the shell you setup for that user to the file /etc/shells.&lt;BR /&gt;&lt;BR /&gt;A secondary line of securing is tcp_wrappers (controlling access to daemons via /etc/hosts.{allow,deny}.&lt;BR /&gt;And last but not least, iptables, as has already been suggested. However, please DO NOT use the old and incorrect way of allowing ports 20 and 21; the correct way is to allow port 21 and use the connection tracking facilities of iptables (-m state --state RELATED,ESTABLISHED) which will allow both active and passive ftp to function (unlike the port 20/21 variant). Just make sure the relevant conntrack modules are loaded.&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Aug 2006 19:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-small-help-on-ftp-access/m-p/3843721#M24701</guid>
      <dc:creator>Manuel Wolfshant</dc:creator>
      <dc:date>2006-08-15T19:15:58Z</dc:date>
    </item>
  </channel>
</rss>

