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 52 of 123 FirstFirst ... 242505152535462102 ... LastLast
Results 511 to 520 of 1225

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

  1. #511
    Join Date
    Mar 2007
    Location
    Stockholm, Schweden
    Beans
    67
    Distro
    Edubuntu 6.10 Edgy

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

    Hm ok Sorry.. I guess I never looked hard enough, Ive checked various ftp servers and missed the fact that you mount what dirrs and HDDs you want =)

  2. #512
    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)

    The tip is that the mount command allows you to mount a directory (even already mounted) in another one, this command don't overwritte the content of the destination directory it just kind of wrap it in your wanted download/upload directory.
    That's why ultimatly the name and the place where you share the directory don't really matter because you can mount in what you want.

    Hope my explanation make sense.

    Good luck

  3. #513
    Join Date
    Jun 2007
    Beans
    30

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

    how can i change the ftp directory to /var/www? i want to upload files straight into the www directory

  4. #514
    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)

    Please take the time to read the thread (or at least a part of) before posting, why should one take the time to answer your question when you don't take the time to find this answer in the thread (because the answer to your question is already in the thread).

    To be quick either put "/var/www" as home directory for your ftpuser and adapt the directory section or like i said in my previous post (yes the one above your post) mount your /var/www directory in the upload directory.

  5. #515
    Join Date
    Jul 2007
    Location
    Starkville, MS USA
    Beans
    3
    Distro
    Ubuntu 9.04 Jaunty Jackalope

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

    First, I'd like to apologize if I'm posting a problem already met. I dug through this thread as much as I could (I even used the search functions just in case I missed anything). I thought I'd wait for an answer to this thread, but it was empty for 3 weeks when I looked at it.

    I'm having the same problem as that guy. Here's what mine says, specifically:

    nate@nate-desktop:/$ proftpd
    - notice: unable to bind to Unix domain socket at '/var/run/proftpd/test.sock': Permission denied
    - notice: unable to listen to local socket: Address already in use
    - Fatal: SystemLog: unable to redirect logging to '/var/log/proftpd/proftpd.log': Permission denied on line 87 of '/etc/proftpd/proftpd.conf'
    Here's my proftpd.conf file:

    # To really apply changes reload proftpd after modifications.
    AllowOverwrite on
    AuthAliasOnly on

    # Choose here the user alias you want !!!!
    UserAlias bucketoclams userftp

    ServerName "desknate"
    ServerType standalone
    DeferWelcome on

    MultilineRFC2228 on
    DefaultServer on
    ShowSymlinks off

    TimeoutNoTransfer 600
    TimeoutStalled 100
    TimeoutIdle 2200

    DisplayFirstChdir .message
    ListOptions "-l"

    RequireValidShell off

    TimeoutLogin 20

    RootLogin off

    # It's better for debug to create log files
    ExtendedLog /var/log/ftp.log
    TransferLog /var/log/xferlog
    SystemLog /var/log/syslog.log

    #DenyFilter \*.*/

    # I don't choose to use /etc/ftpusers file (set inside the users you want to ban, not useful for me)
    UseFtpUsers off

    # Allow to restart a download
    AllowStoreRestart on

    # Port 21 is the standard FTP port, so you may prefer to use another port for security reasons (choose here the port you want)
    Port 21

    # 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 userftp
    Group userftp

    # Umask 022 is a good standard umask to prevent new files and dirs
    # (second parm) from being group and world writable.
    Umask 022 022

    PersistentPasswd off

    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 /media/hdb1/FTP-Shared directory as home directory
    DefaultRoot /media/hdb1/FTP-Shared

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

    MaxLoginAttempts 5

    #VALID LOGINS
    <Limit LOGIN>
    AllowUser userftp
    DenyALL
    </Limit>

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

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

    <Directory> /media/hdb1/FTP-Shared/upload/>
    Umask 022 022
    AllowOverwrite on
    <Limit READ RMD DELE>
    DenyAll
    </Limit>

    <Limit STOR CWD MKD>
    AllowAll
    </Limit>
    </Directory>
    Sorry if that's a bit of an unruly way to display it. I have everything on a secondary, much larger hard drive in the box, which is why it's at /media/hdb1/FTP-Shared instead of just /home.

    Just let me know if you need any more info. Thanks!

  6. #516
    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)

    proftpd needs to be run as root and i think it may be the problem here, the command to start proftpd is :
    Code:
    sudo /etc/init.d/proftpd start
    Hope it solves you problem.

  7. #517
    Join Date
    Jul 2007
    Location
    Starkville, MS USA
    Beans
    3
    Distro
    Ubuntu 9.04 Jaunty Jackalope

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

    Well, it kind of solved it. It showed me other things, and now I'm going through and finding info about them (all common errors, no need to repeat). Thanks!

  8. #518
    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)

    Great, feel free to post questions, sometimes even when reading post containing the answer we are not sure of what to do so if you need some infos go on

  9. #519
    Join Date
    Apr 2006
    Beans
    1

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

    found this post very helpful but would like to know what these command do or at least be able to find a link to a listing of what they do....

    <Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD>

    some info on the rnrf and rnto and rnef would be great....

    thanks again for the how to

  10. #520
    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)

    Quote Originally Posted by poncho1 View Post
    found this post very helpful but would like to know what these command do or at least be able to find a link to a listing of what they do....

    <Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD>

    some info on the rnrf and rnto and rnef would be great....

    thanks again for the how to
    Don't forget the documentation in such case :
    http://www.proftpd.org/localsite/Use...userguide.html

    You will find what interest you in the LIMIT directive documentation :
    http://www.proftpd.org/localsite/Use...ref_Limit.html

Page 52 of 123 FirstFirst ... 242505152535462102 ... 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
  •