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 12 of 123 FirstFirst ... 210111213142262112 ... LastLast
Results 111 to 120 of 1225

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

  1. #111
    Join Date
    Apr 2005
    Location
    Canada
    Beans
    245
    Distro
    Ubuntu 10.10 Maverick Meerkat

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

    First of all thanks for your answers
    Quote Originally Posted by frodon
    Is it a typo ?
    Yes it is
    Quote Originally Posted by frodon
    If you're still not able to download in this directory post your proftpd.conf file and check that you put the good rights on this directory because proftpd won't overwrite the system rights you set on this directory.
    You were right I changed the permission of each file in the subdirectories I attached and now I am able to download the files without a single problem.

    Thanks again for your great howto and support

  2. #112
    Join Date
    Jul 2005
    Location
    Jevnaker, Norge
    Beans
    74

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

    How do i add more users?

  3. #113
    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)

    Create a new user thanks to the "user & group" windows like for userftp in the guide then add an alias line at the beginning of your proftpd.conf file :
    Code:
    UserAlias aliasname newuser
    Then add a line in the limit login section :
    Code:
    <Limit LOGIN>
    AllowUser userftp
    AllowUser newuser
    DenyALL
    </Limit>
    By the way, no problem if several friends try to login at the same time with the same user, it's allowed and controlled by this line :
    Code:
    MaxClientsPerUser 8

  4. #114
    Join Date
    Jul 2005
    Location
    Jevnaker, Norge
    Beans
    74

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

    Thanks.
    Worked like a charm!
    Been really helpfull this thread so once again, thanks!

  5. #115
    Join Date
    Jul 2005
    Location
    Jevnaker, Norge
    Beans
    74

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

    While i'm at it...

    Been trying to get Passive to work, since most (?) clients seem to use is by default, and the more unexperienced users who don't know their client can't connect. I've tryed adding the line "PassivePorts 49152 65534" and opened the ports in my router, but still it seems that users who try connect using passive gets disconnected while trying to list the directories.

    Any clues?



    EDIT: Got it working after rebooting the router.
    Last edited by SSamiK; March 13th, 2006 at 01:23 PM.

  6. #116
    Join Date
    Mar 2006
    Beans
    8

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

    I am new to Ubuntu and I tried to install proftpd and got this;

    sudo apt-get install proftpd

    "Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package proftpd"

    I downloaded it from http://www.proftpd.org/goals.html as a .tar.gz and uncompressed it into my home directory. I ran the install command from my home directory.

    What am I doing wron?

  7. #117
    Join Date
    Apr 2005
    Location
    Canada
    Beans
    245
    Distro
    Ubuntu 10.10 Maverick Meerkat

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

    You have to add extra repositories in synaptic to have this kind of software ready to be installed.
    Have a look to http://www.psychocats.net/linux/sources.php and http://www.ubuntulinux.nl/source-o-matic for more explanations

  8. #118
    Join Date
    Mar 2006
    Beans
    8

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

    I have proftp installed now... I have followed the how to on the first page. all seemed to have gone well.

    Yet I am unable to ftp into this box using any ftp program.

    I am behind a router. Is there anything I need to do for that?

  9. #119
    Join Date
    Mar 2006
    Beans
    8

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

    Quote Originally Posted by zino1
    I have proftp installed now... I have followed the how to on the first page. all seemed to have gone well.

    Yet I am unable to ftp into this box using any ftp program.

    I am behind a router. Is there anything I need to do for that?

    Here is my proftpd.conf file:



    etc/proftpd.conf -- This is a basic ProFTPD configuration file.
    # To really apply changes reload proftpd after modifications.
    #

    ServerName "Zino"
    ServerType inetd
    DeferWelcome on

    MultilineRFC2228 on
    DefaultServer on
    ShowSymlinks off

    TimeoutNoTransfer 600
    TimeoutStalled 100
    TimeoutIdle 1200

    DisplayLogin welcome.msg
    DisplayFirstChdir .message
    ListOptions "-l"

    DenyFilter \*.*/

    # Uncomment this if you are using NIS or LDAP to retrieve passwords:
    #PersistentPasswd off

    # Uncomment this if you would use TLS module:
    #TLSEngine on

    # Uncomment this if you would use quota module:
    #Quotas on

    # Uncomment this if you would use ratio module:
    #Ratios on

    # Port 21 is the standard FTP port.
    Port 1980

    # To prevent DoS attacks, set the maximum number of child processes
    # to 30. If you need to allow more than 30 concurrent connections
    # at once, simply increase this value. Note that this ONLY works
    # in standalone mode, in inetd mode you should use an inetd server
    # that allows you to limit maximum number of processes per service
    # (such as xinetd)
    MaxInstances 8

    # Set the user and group that the server normally runs at.
    User nobody
    Group nogroup

    # Umask 022 is a good standard umask to prevent new files and dirs
    # (second parm) from being group and world writable.
    Umask 022 022
    # Normally, we want files to be overwriteable.
    AllowOverwrite on

    # # Limit the maximum number of anonymous logins
    MaxClients 8
    MaxClientsPerHost 8
    MaxClientsPerUser 8
    MaxHostsPerUser 8

    # Display a message after a successful login
    AccessGrantMsg "welcome !!!"
    # This message is displayed for each access good or not
    ServerIdent on "you're at home"

    # Set /home/FTP-shared directory as home directory
    DefaultRoot /home/FTP-shared

    # Lock all the users in home directory, ***** really important *****
    DefaultRoot ~

    MaxLoginAttempts 5

    # Delay engine reduces impact of the so-called Timing Attack described in
    # http://security.lss.hr/index.php?pag...LSS-2004-10-02
    # It is on by default.
    #DelayEngine off

    # A basic anonymous configuration, no upload directories.

    # <Anonymous ~ftp>
    # User ftp
    # Group nogroup
    # # We want clients to be able to login with "anonymous" as well as "ftp"
    # UserAlias anonymous ftp
    # # Cosmetic changes, all files belongs to ftp user
    # DirFakeUser on ftp
    # DirFakeGroup on ftp
    #
    # RequireValidShell off
    #
    #
    #VALID LOGINS
    <Limit LOGIN>
    AllowUser userftp
    DenyALL
    </Limit>

    <Directory /home/FTP-shared>
    Umask 022 022
    AllowOverwrite off
    <Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD>
    DenyAll
    </Limit>
    </Directory>

    <Directory /home/FTP-shared/download/*>
    Umask 022 022
    AllowOverwrite off
    <Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD>
    DenyAll
    </Limit>
    </Directory>

    <Directory> /home/FTP-shared/upload/>
    Umask 022 022
    AllowOverwrite on
    <Limit READ RMD DELE>
    DenyAll
    </Limit>

    <Limit STOR CWD MKD>
    AllowAll
    </Limit>
    </Directory>
    #
    # # Limit WRITE everywhere in the anonymous chroot
    # <Directory *>
    # <Limit WRITE>
    # DenyAll
    # </Limit>
    # </Directory>
    #
    # # Uncomment this if you're brave.
    # # <Directory incoming>
    # # # Umask 022 is a good standard umask to prevent new files and dirs
    # # # (second parm) from being group and world writable.
    # # Umask 022 022
    # # <Limit READ WRITE>
    # # DenyAll
    # # </Limit>
    # # <Limit STOR>
    # # AllowAll
    # # </Limit>
    # # </Directory>
    #
    # </Anonymous>

  10. #120
    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 strongly advice to run proftpd as standalone so replace the line :
    Code:
    ServerType inetd
    by :
    Code:
    ServerType 	standalone
    Then if you are behind a router you will need to set MasqueradeAddress and PassivePorts following the link i gave in the misc section : http://www.proftpd.org/localsite/Use...nked/x862.html
    You will need also to forward the ports you use for the ftp serveur in you router configuration.
    You should also read this post : http://www.ubuntuforums.org/showpost...2&postcount=81

    By the way, I'm wondering if i should add that in the guide itself and not in the misc section because many users have a router and sometimes they don't read the misc section which contain those informations.
    So should i add the router things in the guide itself instead of the misc section ?

Page 12 of 123 FirstFirst ... 210111213142262112 ... 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
  •