Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65755 - vsftpd >= 2.0.1 doesn't seem to allow local user logins
Summary: vsftpd >= 2.0.1 doesn't seem to allow local user logins
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Rajiv Aaron Manglani (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-28 19:00 UTC by Andrew D. Keyser (aka Legoguy)
Modified: 2004-10-14 12:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
working vsftpd for 2.0.1 (vsftpd.conf,2.84 KB, text/plain)
2004-09-30 20:25 UTC, Jeffrey Forman (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew D. Keyser (aka Legoguy) 2004-09-28 19:00:06 UTC
vsftpd accepts the username but not the password that that user has - Works fine with vsftpd-1.2.2.

Reproducible: Always
Steps to Reproduce:
1. emerge vsftpd-2.0.1
2. make sure local_enable=YES in /etc/vsftpd/vsftpd.conf
3. try to log into ftp with a local user (ie, maybe your username)
Actual Results:  
1. See how it rejects all passwords
2. emerge =vsftpd-1.2.2
3. try logging in now


Expected Results:  
accepts local users

Portage 2.0.51_rc1 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0,
2.6.9-rc2-love3 i686)
=================================================================
System uname: 2.6.9-rc2-love3 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -ftracer -fprefetch-loop-arrays
-pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -ftracer
-fprefetch-loop-arrays -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d acpi aim alsa apache2 arts avi berkdb bitmap-fonts cdr crypt cups
dba dvd encode faad flac flash foomaticd freetype ftp gb gd gdbm gif gimp-print
gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imlib jabber jack
ava joystick jpeg kde ladcca ldap libg++ libwww mad mbox mikmod mmx motif mpeg
msn mysql ncurses nls nptl nvidia offensve oggvorbis opengl pam pcmcia pdflib
perl php png python qt quicktime readline samba sdl slang snmp socks5 spell sse
sl svga tcltk tcpd tga tiff truetype trusted usb v4l v4l2 wavelan wmf wxwindows
x86 xft xine xml xml2 xmms xprint xrandrxv yahoo zlib"
Comment 1 Jeffrey Forman (RETIRED) gentoo-dev 2004-09-29 14:37:55 UTC
jforman@westlake jforman $ ncftp localhost
NcFTP 3.1.7 (Jan 07, 2004) by Mike Gleason (http://www.NcFTP.com/contact/).
Connecting to 127.0.0.1...                                                                 
Welcome to formanonline.com
Logging in...                                                                              
Login successful.
Logged in to localhost.                                                                    
ncftp / > 

I am running vsftpd-2.0.1 on that same machine. looks good to me. 
[ebuild   R   ] net-ftp/vsftpd-2.0.1  -debug -ipv6 +pam +ssl +tcpd  0 kB

Rajiv, you mind me closing this WORKSFORME?
Comment 2 Andrew D. Keyser (aka Legoguy) 2004-09-30 15:29:12 UTC
What is your configuration? It might be a config problem for me so it would help if you could provide it. If your provided config fixes it for me, then you might as well mark it worksforme, otherwise it's still a bug somewhere.
Comment 3 Jeffrey Forman (RETIRED) gentoo-dev 2004-09-30 20:25:17 UTC
Created attachment 40832 [details]
working vsftpd for 2.0.1

this works with local logins, hopefully it clears up your issue
Comment 4 Roland Tapken 2004-10-02 17:24:39 UTC
Same problem here... local users can't login until they have a valid shell!
Comment 5 Roland Tapken 2004-10-02 17:27:22 UTC
Update: For me it works now. Just edit /etc/pam.d/vsftpd and comment out the line
auth     required   /lib/security/pam_shells.so
Comment 6 Andrew D. Keyser (aka Legoguy) 2004-10-04 20:20:21 UTC
It seemed, for me, that after I remerged vsftpd it worked. 
By the way, I use zsh... but that shouldn't have any difference, and it works now anyways. Go ahead and mark as worksforme or invalid.
Comment 7 Jeffrey Forman (RETIRED) gentoo-dev 2004-10-14 12:43:48 UTC
Sounds good, thanks!

-Jeffrey