Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453564 - net-ftp/vsftpd - local user login does not work?
Summary: net-ftp/vsftpd - local user login does not work?
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-22 19:01 UTC by Gert Andersen
Modified: 2013-02-19 19:53 UTC (History)
3 users (show)

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


Attachments
opensuse pam common account (common-account-pc,446 bytes, text/plain)
2013-01-24 01:10 UTC, Benny Pedersen
Details
opensuse pam common auth (common-auth-pc,522 bytes, text/plain)
2013-01-24 01:11 UTC, Benny Pedersen
Details
opensuse pam common password (common-password-pc,408 bytes, text/plain)
2013-01-24 01:11 UTC, Benny Pedersen
Details
opensuse pam common session (common-session-pc,504 bytes, text/plain)
2013-01-24 01:12 UTC, Benny Pedersen
Details
opensuse ftpusers (ftpusers,565 bytes, text/plain)
2013-01-24 01:13 UTC, Benny Pedersen
Details
opensuse shells (shells,244 bytes, text/plain)
2013-01-24 01:14 UTC, Benny Pedersen
Details
opensuse vsftpd pam conf (vsftpd,569 bytes, text/plain)
2013-01-24 01:14 UTC, Benny Pedersen
Details
opensuse vsftpd conf for 3.0.2 unedited (vsftpd.conf,6.41 KB, text/plain)
2013-01-24 01:24 UTC, Benny Pedersen
Details

Note You need to log in before you can comment on or make changes to this bug.
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