Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: No login possible on vsftpd

  1. #1
    Join Date
    Oct 2010
    Beans
    261

    No login possible on vsftpd

    I remember vsftpd was working on a previous release on my system but now I'm unlucky. local_enable=YES was already the default and I needed just to change write_enable to YES. But after restarting vsftpd and trying to login it fails:

    Code:
    sworddragon@ubuntu:~$ ftp localhost
    Connected to localhost.
    220 (vsFTPd 3.0.2)
    Name (localhost:sworddragon): sworddragon
    331 Please specify the password.
    Password:
    530 Login incorrect.
    Login failed.
    /var/log/vsftpd.log contains:

    Code:
    Thu Mar 21 09:00:33 2013 [pid 2] CONNECT: Client "127.0.0.1"
    Thu Mar 21 09:00:48 2013 [pid 1] [sworddragon] FAIL LOGIN: Client "127.0.0.1"
    I have even created a new user but this doesn't work too. Has somebody an idea?

  2. #2
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: No login possible on vsftpd

    have you some usefull info inside /var/log/auth.log ?

  3. #3
    Join Date
    Oct 2010
    Beans
    261

    Re: No login possible on vsftpd

    This file doesn't exist on my system. It seems I'm missing the related non-essential package. I'm using GDM as login manager and ecryptfs for my home directory if this helps.
    Last edited by Sworddragon; March 21st, 2013 at 10:08 AM.

  4. #4
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: No login possible on vsftpd

    you need to narrow down that missing auth.log file (rsyslog)
    https://help.ubuntu.com/community/LinuxLogFiles
    Last edited by dino99; March 21st, 2013 at 11:14 AM.

  5. #5
    Join Date
    Oct 2010
    Beans
    261

    Re: No login possible on vsftpd

    I have installed rsyslog and rebooted the system. Here is my /var/log/auth.log:

    Code:
    Mar 21 12:16:38 localhost dbus[1185]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.2" (uid=0 pid=1213 comm="gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.3" (uid=0 pid=1323 comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
    Mar 21 12:16:49 localhost gdm-launch-environment][1498]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)
    Mar 21 12:16:55 localhost polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.16 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8)
    Mar 21 12:16:56 localhost dbus[1185]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.17" (uid=103 pid=1817 comm="/usr/lib/gdm/gdm-simple-greeter ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.7" (uid=0 pid=1509 comm="/usr/sbin/console-kit-daemon --no-daemon ")
    Mar 21 12:16:58  dbus[1185]: last message repeated 4 times
    Mar 21 12:16:58 localhost gdm][1833]: PAM unable to dlopen(pam_gnome_keyring.so): /lib/security/pam_gnome_keyring.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
    Mar 21 12:16:58 localhost gdm][1833]: PAM adding faulty module: pam_gnome_keyring.so
    Mar 21 12:16:58 localhost gdm][1833]: pam_succeed_if(gdm:auth): requirement "user ingroup nopasswdlogin" not met by user "sworddragon"
    Mar 21 12:17:01 localhost CRON[1838]: pam_unix(cron:session): session opened for user root by (uid=0)
    Mar 21 12:17:01 localhost CRON[1838]: pam_unix(cron:session): session closed for user root
    Mar 21 12:17:03 localhost gdm][1833]: pam_unix(gdm:session): session opened for user sworddragon by (uid=0)
    Mar 21 12:17:03 localhost dbus[1185]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.17" (uid=103 pid=1817 comm="/usr/lib/gdm/gdm-simple-greeter ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.7" (uid=0 pid=1509 comm="/usr/sbin/console-kit-daemon --no-daemon ")
    Mar 21 12:17:03 localhost polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.16, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8) (disconnected from bus)
    Mar 21 12:17:03 localhost gdm-launch-environment][1498]: pam_unix(gdm-launch-environment:session): session closed for user gdm
    Mar 21 12:18:29 localhost vsftpd: PAM audit_log_acct_message() failed: Operation not permitted

  6. #6
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: No login possible on vsftpd

    compared to your messages above, i've also the same first comment on my system (something new since a few days, but im using the gnome3-team ppa) about "dbus rejecting send message ..."
    cant say if that matter, i've not yet get such issue as yours.

    but then you get pam troubles: is it "dbus" related or "gdm" ? As your "sworddragon" user cant met pam requirement, maybe check the "users & groups" settings to see if sworddragon is activated

  7. #7
    Join Date
    Oct 2010
    Beans
    261

    Re: No login possible on vsftpd

    I have looked with google about the last line and it seems it is a bug. I will check it later again and open a bugreport if needed.

  8. #8
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: No login possible on vsftpd

    When i get troubles, the first thing im doing is to clean the system as much as i can (clean/autoclean/autoremove/gtkorphan/bleachbit) and check for missing update/install (sudo apt-get install -f)
    then i do a reconfiguration after having closed the running apps :
    sudo dpkg-reconfigure -phigh -a

  9. #9
    Join Date
    Oct 2010
    Beans
    261

    Re: No login possible on vsftpd

    As expected it hasn't worked. But I have now opened a bugreport: https://bugs.launchpad.net/ubuntu/+s...d/+bug/1160372

  10. #10
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: No login possible on vsftpd

    I've seen your report, is it supposed to work without "sudo" ?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •