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"
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?
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.
Created attachment 40832 [details] working vsftpd for 2.0.1 this works with local logins, hopefully it clears up your issue
Same problem here... local users can't login until they have a valid shell!
Update: For me it works now. Just edit /etc/pam.d/vsftpd and comment out the line auth required /lib/security/pam_shells.so
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.
Sounds good, thanks! -Jeffrey