Re: Problem With vsftpd - "tunable_ftp_username" ???

From: Steve Darnell (sdarnell_at_itms.com)
Date: 09/29/03

  • Next message: Sam Warren: "LPRng"
    To: <debian-user@lists.debian.org>
    Date: Mon, 29 Sep 2003 15:56:38 -0400
    
    

    On Tue, May 21, 2002 at 02:35:38AM +0100, Nick wrote:
    > I just replaced the ordinary ftpd as supplied with my Debian Woody/Pre
    > system by the vsftpd deb in Testing, but now can't actually run any
    > FTP sessions because vsftpd dies every time I connect, as follows :
    >
    > # ftp django
    > Connected to django.mydomain.org.
    > 500 OOPS: vsftpd: cannot locate user specified in
    > 'tunable_ftp_username'
    > ftp> bye
    >

    With the default vsftpd config file (/etc/vsftpd.conf) that comes with the
    Debian stable vsftpd package, you need to add the user "ftp" and then make
    sure the new user "ftp" does NOT have access to its own home directory.
    The following commands will do the trick:
    [root@localhost root]# mkdir /var/ftp/
    [root@localhost root]# useradd -d /var/ftp ftp

    (the next two are useful to run even if the user "ftp" already exists).
    [root@localhost root]# chown root.root /var/ftp
    [root@localhost root]# chmod og-w /var/ftp

    Note: The above information is from the file INSTALL file at:
    ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-1.1.3/

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Sam Warren: "LPRng"

    Relevant Pages

    • Re: vsftpd quesiton
      ... Perhaps vsftpd is dying. ... Login as root and try this: ... If you still can't FTP into the machine, ... in another window while you "service vsftpd start" and see if any ...
      (linux.redhat)
    • vsftpd doesnt start - subsytem locked
      ... I have a RedHat 9 box with vsftpd installed. ... I am starting vsftpd as a service, and there is nothing about ftp in the ... # Uncomment this to allow the anonymous FTP user to upload files. ... # mangling on files when in ASCII mode. ...
      (linux.redhat)
    • RE: vsftpd v1.1.0 not allowing user logon (but anonymous is allow ed)
      ... The wu-ftpd FTP server serves FTP connections. ... Asunto: RE: vsftpd v1.1.0 not allowing user logon ... > registered office of each company is at Booths Hall, Chelford Road, ... relevant UK operating company and are confidential and intended for the use ...
      (RedHat)
    • Re: vsftpd chrooted setup
      ... The chroot lines are commented out. ... then after starting vsftpd, /sbin/service vsftpd status will give error ... # loosens things up a bit, to make the ftp daemon more usable. ... # Uncomment this to enable any form of FTP write command. ...
      (Fedora)
    • Re: Mandrake 8.1 Desktop Gone
      ... You want to set up anonymous ftp with a chroot jail. ... Use chmod to remove "others" access to all directories in root. ... database using the same package specification ...
      (alt.os.linux)