View Poll Results: Do you think that gproftpd is useful ?

Voters
872. You may not vote on this poll
  • Yes, it's easy to use and really powerful

    473 54.24%
  • Yes, but i won't use it

    136 15.60%
  • No, the GUI has to be improved

    263 30.16%
Page 53 of 123 FirstFirst ... 343515253545563103 ... LastLast
Results 521 to 530 of 1225

Thread: HOWTO : Create a FTP server with user access (proftpd)

  1. #521
    Join Date
    Jun 2007
    Beans
    2

    Re: HOWTO : Create a FTP server with user access (proftpd)

    I can not install proftpd. I get the following error messages:

    ----------------------------------------------------------------------------------------------

    root@server:/home/brad# apt-get install proftpd
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Suggested packages:
    proftpd-doc
    The following NEW packages will be installed:
    proftpd
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/784kB of archives.
    After unpacking 2331kB of additional disk space will be used.
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
    Preconfiguring packages ...
    Selecting previously deselected package proftpd.
    (Reading database ... 116567 files and directories currently installed.)
    Unpacking proftpd (from .../proftpd_1.3.0-21ubuntu1_i386.deb) ...
    Setting up proftpd (1.3.0-21ubuntu1) ...
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
    * Starting ftp server proftpd - IPv4 getaddrinfo 'server' error: No address associated with hostname
    - warning: unable to determine IP address of 'server'
    - error: no valid servers configured
    - Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
    [fail]
    invoke-rc.d: initscript proftpd, action "start" failed.
    dpkg: error processing proftpd (--configure):
    subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
    proftpd
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  2. #522
    Join Date
    Aug 2006
    Beans
    34

    Re: HOWTO : Create a FTP server with user access (proftpd)

    I've managed to install proFTPd and it works just fine, except for one problem. When a computer from my LAN connects to my FTP server and downloads something, it is limited to 30KB/s... I don't know why it is so slow. Any ideas?

  3. #523
    Join Date
    Jun 2005
    Location
    France
    Beans
    7,100
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO : Create a FTP server with user access (proftpd)

    You can try to specify explicitlty the maximum transfer rate, for example :
    Code:
    TransferRate RETR 4096
    Documentation :
    http://www.proftpd.org/localsite/Use...nsferRate.html

    Anyway this is strange, you shouldn't have such problems, i believe that by default it takes the maximum bandwidth it can.

  4. #524
    Join Date
    Jul 2007
    Beans
    9

    Re: HOWTO : Create a FTP server with user access (proftpd)

    Hi!
    I used the default GPROFTPD configuration to set up my server, I added a user and am able to connect to the server from my own computer, but noone can connect from the outside.I don't have any routers or such things, and my friend who is trying to connect can ping me.he is using filezilla and gets the message "Waiting for welcome message..."and there it sits.
    I could post my gproftpd.conf, but I really haven't touched a thing in it, everything is default.
    Any help will be appreciated...

    Data

  5. #525
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,278
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: HOWTO : Create a FTP server with user access (proftpd)

    what does this return?
    sudo iptables -L

    if there are any rules shown then you need to allow connections on the port you're using for your ftp server. Iptables is the main firewall for Ubuntu and many other Distribution. If you're not using a firewall, I'd ask you why in the heck not especially if you don't have a Hardware Firewall (router or the likes). If that still doesn't work, have your friend try a different client. Firefox has a free client (meaning he'd have to install Firefox first) as a plugin, it's called FireFTP. Check it out, it's actually a very usable client. If that doesn't work, there is most likely other free clients but I am not sure of them for Winbloz.
    Check out my Blog about my life and computer software and hardware. http://ubuntuaddicted.blogspot.com/
    My YouTube channel:
    http://www.youtube.com/ubuntuaddicted

  6. #526
    Join Date
    Apr 2006
    Location
    Italy
    Beans
    56
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO : Create a FTP server with user access (proftpd)

    Quote Originally Posted by frodon View Post
    There is another thing i didn't see before, in the "<Directory> /home/ftp/upload/>" field, modify it like that :
    Code:
    <Directory> /home/ftp/upload/>
    Umask 022 022
    AllowOverwrite on
    	<Limit READ RMD DELE>
          	DenyAll
        	</Limit>
    
        	<Limit STOR CWD MKD>
          	AllowAll
        	</Limit>
    </Directory>
    This will allow you to write in the upload directory.
    Now for your login issue, try to login your gnome session with userftp in order to be sure that it's not a user creation problem. Check also that your home/ftp directory have 755 rights.
    Hi frodon,

    I've got a problem I thought I had passed, but I did not

    3 users accessing the download dir, but only one, that's me, aliased userftp2 can write, delete, rename and make all this an admin does, into this dir.
    Here's my lines, but it doesn't work!
    Can you help me ? Thanks a lot

    Code:
    <Directory /home/FTP-shared/download/*>
    Umask 022 022
    AllowOverwrite off
               <Limit ALL>
    		Order Allow,Deny
    		AllowUser userftp
    		AllowUser userftp2
                   AllowUser userftp3
                   Deny ALL
    	       </Limit>
    	
                <Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD>
    	     Order Allow,Deny
                 AllowUser userftp2
                 DenyAll
    	     </Limit>
    </Directory>

  7. #527
    Join Date
    Jun 2005
    Location
    France
    Beans
    7,100
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO : Create a FTP server with user access (proftpd)

    I'm not sure i'm not misunderstanding you but you should allow the real user in the directory not the alias name (the alias name don't matter).
    You are also supposed to have a general "Limit LOGIN" section outside the "directory" section where you allow login from all the wanted user.
    Last edited by frodon; July 5th, 2007 at 08:23 PM.

  8. #528
    Join Date
    Jul 2007
    Beans
    9

    Re: HOWTO : Create a FTP server with user access (proftpd)

    Thanks for the advice, but I figured it out.I had to use a port that is in the passive port range.I don't quite understand why this is so, but it works now

  9. #529
    Join Date
    Apr 2006
    Location
    Italy
    Beans
    56
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO : Create a FTP server with user access (proftpd)

    Quote Originally Posted by frodon View Post
    I'm not sure i'm not misunderstanding you but you should allow the real user in the directory not the alias name (the alias name don't matter).
    You are also supposed to have a general "Limit LOGIN" section outside the "directory" section where you allow login from all the wanted user.
    I'm sorry...my fault....my explanation was not so clear.!
    userftp2 is not an alias, it's the real name....and so are userftp3 and userftp!
    Limit LOGIN is set up correctly (I followed your guide, many months ago )
    My target is to allow userftp2 only to write, delete, rename etc in the "download" directory!
    of contrary, userftp3 and userftp could not !

    But now a new suspect is in my mind:

    when I set up my ftp server, "/home/FTP-Shared" directory and "/home/FTP-Shared/download" directory were chmoded by 755 ! so the real owner is only the system user who did this (by using sudo, obviously), that's me!
    I'll never be able to write in download dir. just because "userftp2" doesn't match the real system user (myself).

    and the confirmation is that everyone can do eveything in "upload" dir., chmoded 777


    Is this correct ?

    Maybe this could be a good solution:

    I could give userftp2 a valid shell for a little while....then I could switch to userftp2 by typing
    Code:
    su userftp2
    and chmod by 755 the download dir.
    From now on, userftp2 will be the owner and will be able to do everything into that dir
    Last but not least, I could give him back a fake shell !

    I'll give a try
    Last edited by dannytherocker; July 6th, 2007 at 10:31 AM.

  10. #530
    Join Date
    Feb 2007
    Beans
    4

    Re: HOWTO : Create a FTP server with user access (proftpd)

    I have read through all the posts here, read some 3rd party sites, and formatted my ubuntu box twice to try to get SSL/TLS secure ftp working.

    My ftp works fine without encryption, however with encryption I get these errors.

    Code:
    WinSock 2.0 -- OpenSSL 0.9.8b 04 May 2006
    [R] Connecting to 192.168.1.102 -> IP=192.168.1.102 PORT=21
    [R] Connected to 192.168.1.102
    [R] 220 ProFTPD 1.3.0 Server (Restricted-Access) [::ffff:192.168.1.102]
    [R] AUTH TLS
    [R] 234 AUTH TLS successful
    [R] Connected. Negotiating TLSv1 session..
    [R] error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
    [R] Failed TLSv1 negotiation, disconnected
    [R] Connection failed (Connection closed by client)
    [R] Delaying for 120 seconds before reconnect attempt #1
    Not quite sure...I have noticed other uses have had this similar problem, and any help would be much appreciated. Thank you in advance.

Page 53 of 123 FirstFirst ... 343515253545563103 ... 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
  •