Bug 754795 - local user can not connect with login and password
Summary: local user can not connect with login and password
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vsftpd
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Skala
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 770583 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-17 18:40 UTC by Sergei LITVINENKO
Modified: 2014-11-09 22:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-21 09:23:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sergei LITVINENKO 2011-11-17 18:40:50 UTC
Description of problem:
Local user can not connect to vsftp with login and password

Version-Release number of selected component (if applicable):
vsftpd-2.3.4-5.fc16.i686

How reproducible:
100%

Steps to Reproduce:
1. stop selinux
2. stop firewall
3. start vsftpd
4. connect to by ftp to localhost
  
Actual results:

[sergeil@homedesk ~]$ ftp localhost
Connected to localhost (127.0.0.1).
220 (vsFTPd 2.3.4)
Name (localhost:sergeil): 
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp> 

Expected results:
user can nonnect by ftp

Additional info:

1. anonymous can login

2. grep -v ^# /etc/vsftpd/vsftpd.conf
---
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=YES

pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
---

Comment 1 Jiri Skala 2011-11-21 09:23:44 UTC
This is fixed in version vsftpd-2.3.4-6.fc16.i686. This version is currently in fedora-testing repository.

Comment 2 Sergei LITVINENKO 2011-11-21 19:27:38 UTC
I found yet another solution `yum bash reinstall`

Maybe, it is because anaconda, but, after installation, /etc/shells miss /bin/bash and /bin/sh 


As soon, as /etc/shells is fixed, vsftpd serve local users with login and password...

Comment 3 Ondrej Vasik 2011-11-21 20:12:05 UTC
No, it is not because of anaconda, it was buggy bash update (bug in postun script of the final F16 bash package) - which results into the issues with missing /bin/bash in /etc/shells after the first bash package update. Proper solution for the f16 users (triggers in bash package) will be hopefully done soon...

Comment 4 Jiri Skala 2012-01-11 08:02:56 UTC
*** Bug 770583 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.