Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 453564

Summary: net-ftp/vsftpd - local user login does not work?
Product: Gentoo Linux Reporter: Gert Andersen <gert>
Component: Current packagesAssignee: Markos Chandras (RETIRED) <hwoarang>
Status: RESOLVED WORKSFORME    
Severity: minor CC: bugs, net-ftp, wired
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: opensuse pam common account
opensuse pam common auth
opensuse pam common password
opensuse pam common session
opensuse ftpusers
opensuse shells
opensuse vsftpd pam conf
opensuse vsftpd conf for 3.0.2 unedited

Description Gert Andersen 2013-01-22 19:01:48 UTC
vsftpd trouble and not working correct for local know user login with password.
When I login as known local user vsftpd is edning up to the same place the anon users gtting in to. where the local uswer login has worked fine before have the latest 3-4 version not worked as it should for local user login.

Reproducible: Always

Steps to Reproduce:
1.login as local user respons can not in chroot() and ends with error.
2.
3.
Actual Results:  
With local login is I ending up in path /home/ftp/ og getting error by can't change directory in chroot()

Expected Results:  
Latest versions of Vsftpd should by local user login like users as (kofo, web and www) have login my in to the path of /home/kofo and /home/www
Comment 1 Johan Bergström 2013-01-22 20:54:02 UTC
Not sure what your problem is. 

Is it:
1: You cant get any local user to login?
2: You want the ftp user to be a proper user?

Please post your config since it might be relevant.
Comment 2 Benny Pedersen 2013-01-24 01:00:57 UTC
vsftpd 2.3.4 works, in 2.3.5 it does not

also noted that on opensuse 12.2 ftp have /bin/bash shell

just to make it insecure now :(

try build without pam
Comment 3 Benny Pedersen 2013-01-24 01:10:32 UTC
Created attachment 336658 [details]
opensuse pam common account
Comment 4 Benny Pedersen 2013-01-24 01:11:18 UTC
Created attachment 336660 [details]
opensuse pam common auth
Comment 5 Benny Pedersen 2013-01-24 01:11:57 UTC
Created attachment 336662 [details]
opensuse pam common password
Comment 6 Benny Pedersen 2013-01-24 01:12:29 UTC
Created attachment 336664 [details]
opensuse pam common session
Comment 7 Benny Pedersen 2013-01-24 01:13:15 UTC
Created attachment 336666 [details]
opensuse ftpusers
Comment 8 Benny Pedersen 2013-01-24 01:14:05 UTC
Created attachment 336668 [details]
opensuse shells
Comment 9 Benny Pedersen 2013-01-24 01:14:44 UTC
Created attachment 336670 [details]
opensuse vsftpd pam conf
Comment 10 Benny Pedersen 2013-01-24 01:16:03 UTC
opensuse have 3.0.2 stable so i might work, hopefully
Comment 11 Benny Pedersen 2013-01-24 01:20:25 UTC
arg gentoo should stop using self signed ssl certs :(

or atleast see apache logs for err 501 in logs
Comment 12 Benny Pedersen 2013-01-24 01:24:48 UTC
Created attachment 336672 [details]
opensuse vsftpd conf for 3.0.2 unedited
Comment 13 Markos Chandras (RETIRED) gentoo-dev 2013-01-24 09:07:36 UTC
attaching files randomly will not make this problem go away
Comment 14 Benny Pedersen 2013-01-24 19:17:46 UTC
Fejl 501 (net::ERR_INSECURE_RESPONSE): Ukendt fejl.

where do i care about self signed ssl certs ?

if gentoo devs thinks good responnse on garbage out, it will not come from me with any help
Comment 15 Markos Chandras (RETIRED) gentoo-dev 2013-01-24 20:11:09 UTC
(In reply to comment #14)
> Fejl 501 (net::ERR_INSECURE_RESPONSE): Ukendt fejl.
> 
> where do i care about self signed ssl certs ?
> 
> if gentoo devs thinks good responnse on garbage out, it will not come from
> me with any help

the Gentoo self signed ssl certs is a different issue and not related to vsftpd. I  still don't understand what is wrong with the vsftpd package.
Comment 16 Markos Chandras (RETIRED) gentoo-dev 2013-02-19 19:53:10 UTC
Not clear what's pending here and since local logins work for me I am closing this bug