<?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: Login problem with vsftpd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912558#M26332</link>
    <description>Here is lots of info about selinux - &lt;A href="http://fedora.redhat.com/docs/selinux-faq-fc3/" target="_blank"&gt;http://fedora.redhat.com/docs/selinux-faq-fc3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ivan</description>
    <pubDate>Wed, 13 Dec 2006 16:35:39 GMT</pubDate>
    <dc:creator>Ivan Krastev</dc:creator>
    <dc:date>2006-12-13T16:35:39Z</dc:date>
    <item>
      <title>Login problem with vsftpd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912553#M26327</link>
      <description>Fedora core 6 running on two boxes one named vebnew and the other veb2. Both are&lt;BR /&gt;on a new LAN using a router as a LAN hub and as a gateway.&lt;BR /&gt;&lt;BR /&gt;I have an old LAN network .local configured the same. It's been working&lt;BR /&gt;for a couple of years with no vsftp problems.&lt;BR /&gt;&lt;BR /&gt;The new local2 network is set in /etc/hosts of the new server vebnew.&lt;BR /&gt;&lt;BR /&gt;192.168.1.20     router.local2    router&lt;BR /&gt;192.168.1.21     vebnew.local2    vebnew&lt;BR /&gt;192.168.1.22     veb2.local       veb2&lt;BR /&gt;&lt;BR /&gt;named is not running on vebnew.&lt;BR /&gt;&lt;BR /&gt;When I try to connect from either box to the other via vsftpd I get&lt;BR /&gt;this kind of error:&lt;BR /&gt;&lt;BR /&gt;Connected to vebnew.local2.&lt;BR /&gt;220 (vsFTPd 2.0.5)&lt;BR /&gt;530 Please login with USER and PASS.&lt;BR /&gt;530 Please login with USER and PASS.&lt;BR /&gt;KERBEROS_V4 rejected as an authentication type&lt;BR /&gt;Name (vebnew:veb): veb&lt;BR /&gt;331 Please specify the password.&lt;BR /&gt;Password:&lt;BR /&gt;500 OOPS: cannot change directory:/home/veb&lt;BR /&gt;Login failed.&lt;BR /&gt;&lt;BR /&gt;--------&lt;BR /&gt;The most recent entries in /var/log/messages:&lt;BR /&gt;&lt;BR /&gt;Dec 13 12:57:10 veb2 restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory &lt;BR /&gt;Dec 13 13:08:11 veb2 kernel: audit(1166036891.012:8): avc:  denied  { search } for  pid=7460 comm="vsftpd" name="home" dev=dm-0 ino=5570561 scontext=user_u:system_r:ftpd_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir&lt;BR /&gt;&lt;BR /&gt;---------&lt;BR /&gt;The resolv.conf file seems to be Ok and works for ssh.&lt;BR /&gt;&lt;BR /&gt;# cat /etc/resolv.conf&lt;BR /&gt;; generated by /sbin/dhclient-script&lt;BR /&gt;nameserver 192.168.1.20&lt;BR /&gt;&lt;BR /&gt;------------------------------------------&lt;BR /&gt;&lt;BR /&gt;I have another LAN with a server named veb.local that both &lt;BR /&gt;vebnew.local and veb2.local have no problem connecting to via vsftpd.&lt;BR /&gt;&lt;BR /&gt;named is running on this server but vsftpd works Ok even when named is not running.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I've checked /etc/vsftpd/vsftpd.conf and it looks the same on both servers.&lt;BR /&gt;&lt;BR /&gt;Any ideas ?? Thanks !</description>
      <pubDate>Wed, 13 Dec 2006 14:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912553#M26327</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2006-12-13T14:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem with vsftpd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912554#M26328</link>
      <description>If you have selinux installed try:&lt;BR /&gt;&lt;BR /&gt;setsebool ftpd_disable_trans 1&lt;BR /&gt;service vsftpd restart&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 13 Dec 2006 15:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912554#M26328</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2006-12-13T15:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem with vsftpd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912555#M26329</link>
      <description>[root@vebnew veb]# setsebool ftpd_disable_trans 1&lt;BR /&gt;bash: setsebool: command not found&lt;BR /&gt;&lt;BR /&gt;I'm not sure if selinux is running; ps -A | grep linux returns nothing, but I don't remember the process name of selinux. Fedora core 6 is running right out of the box.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Dec 2006 15:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912555#M26329</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2006-12-13T15:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem with vsftpd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912556#M26330</link>
      <description>getenforce will show if selinux is enabled</description>
      <pubDate>Wed, 13 Dec 2006 16:05:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912556#M26330</guid>
      <dc:creator>George Liu_4</dc:creator>
      <dc:date>2006-12-13T16:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem with vsftpd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912557#M26331</link>
      <description>[root@veb2 veb]# getenforce&lt;BR /&gt;bash: getenforce: command not found&lt;BR /&gt;[root@veb2 veb]#&lt;BR /&gt;&lt;BR /&gt;I'm not familiar with getenforce ? How to run it.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 13 Dec 2006 16:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912557#M26331</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2006-12-13T16:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem with vsftpd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912558#M26332</link>
      <description>Here is lots of info about selinux - &lt;A href="http://fedora.redhat.com/docs/selinux-faq-fc3/" target="_blank"&gt;http://fedora.redhat.com/docs/selinux-faq-fc3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 13 Dec 2006 16:35:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912558#M26332</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2006-12-13T16:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem with vsftpd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912559#M26333</link>
      <description>[veb@veb2 ~]$ sestatus&lt;BR /&gt;SELinux status:                 enabled&lt;BR /&gt;SELinuxfs mount:                /selinux&lt;BR /&gt;Current mode:                   enforcing&lt;BR /&gt;Mode from config file:          enforcing&lt;BR /&gt;Policy version:                 21&lt;BR /&gt;Policy from config file:        targeted&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ok with that link I found sestatus command and it shows selinux enabled. If I can figure out how to temporarily disable it I can determine if it is the cause of the login failure.</description>
      <pubDate>Wed, 13 Dec 2006 17:05:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912559#M26333</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2006-12-13T17:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem with vsftpd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912560#M26334</link>
      <description>You can disable SELinux protection for the ftpd daemon by executing: &lt;BR /&gt;/usr/sbin/setsebool -P ftpd_disable_trans 1 &lt;BR /&gt;service vsftpd restart &lt;BR /&gt;&lt;BR /&gt;Another option is "system-config-securitylevel" - GUI tool available to customize SELinux policy settings.&lt;BR /&gt;&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 13 Dec 2006 17:15:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912560#M26334</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2006-12-13T17:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem with vsftpd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912561#M26335</link>
      <description>Thanks Ivan; that fixed it !!&lt;BR /&gt;&lt;BR /&gt;We would have had it sooner but /usr/sbin was not in my path and I didn't realize it.&lt;BR /&gt;&lt;BR /&gt;Thanks again everybody !!</description>
      <pubDate>Wed, 13 Dec 2006 17:25:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-problem-with-vsftpd/m-p/3912561#M26335</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2006-12-13T17:25:07Z</dc:date>
    </item>
  </channel>
</rss>

