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 114 of 123 FirstFirst ... 1464104112113114115116 ... LastLast
Results 1,131 to 1,140 of 1225

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

  1. #1131
    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 volkovski View Post
    I need special user, which can log in to my FTP but doesn't to UBUNTU. Please help I'm noob, sry for my eng. Please show my any example configuration.
    First thing why ?

    Anyway standard proftpd config don't allow this however there is an alternative way to create FTP users which is not covered in this tutorial. See here for details:
    http://www.proftpd.org/localsite/Use...72.html#AEN576

  2. #1132
    Join Date
    Oct 2009
    Beans
    11

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

    I'm using ProFTPd, and have followed http://ubuntuforums.org/showthread.php?t=79588.

    I get 530 Login incorrect error, although I've quintuple-checked that alias, username, folder permissions, port and password are correct. Anyone know what to do?

    My proftp.conf: http://paste.ubuntu.com/414711/

    EDIT: I found the error, I put the conf in /etc/ instead of /etc/proftpd/. Maybe update first post to say Edgy eft and later?

    Thanks for the guide, though.
    Last edited by angry_norwegian; April 15th, 2010 at 05:49 PM.

  3. #1133
    Join Date
    Apr 2010
    Location
    United Kingdom
    Beans
    11
    Distro
    Ubuntu Development Release

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

    Hey all, I seem to be having some troubles, not sure exactly what is going wrong. Can anyone take a look at my errors and see whats up? Thanks

    Code:
    mikey@ubuntu:~$ sudo apt-get install proftpd gproftpd
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting proftpd-basic instead of proftpd
    E: Couldn't find package gproftpd
    mikey@ubuntu:~$ sudo apt-get install proftpd-basic
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      libstdc++6-4.3-dev libconvert-binhex-perl libqca2 libsoap-lite-perl libmime-types-perl libcrypt-ssleay-perl
      libnet-ssleay-perl g++-4.3 libass1 libossp-uuid-perl libdvbpsi4 libmime-tools-perl libossp-uuid15 libx264-65
      libio-stringy-perl libnet-google-perl libemail-date-format-perl nullmailer libphonon4 libmime-lite-perl
      libfcgi-perl libid3tag0 libjcode-pm-perl libio-socket-ssl-perl libvlccore0 qt4-qtconfig libnet-libidn-perl
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
      openbsd-inetd
    Suggested packages:
      proftpd-doc proftpd-mod-mysql proftpd-mod-pgsql proftpd-mod-ldap proftpd-mod-odbc proftpd-mod-sqlite
    The following NEW packages will be installed
      openbsd-inetd proftpd-basic
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 836kB of archives.
    After this operation, 2,195kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Err http://gb.archive.ubuntu.com karmic/main openbsd-inetd 0.20080125-2ubuntu1
      Cannot initiate the connection to gb.archive.ubuntu.com:80 (2a01:450:10:1::10). - connect (101: Network is unreachable) [IP: 2a01:450:10:1::10 80]
    Err http://gb.archive.ubuntu.com karmic/universe proftpd-basic 1.3.2-3
      Cannot initiate the connection to gb.archive.ubuntu.com:80 (2a01:450:10:1::10). - connect (101: Network is unreachable) [IP: 2a01:450:10:1::10 80]
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/o/openbsd-inetd/openbsd-inetd_0.20080125-2ubuntu1_i386.deb  Cannot initiate the connection to gb.archive.ubuntu.com:80 (2a01:450:10:1::10). - connect (101: Network is unreachable) [IP: 2a01:450:10:1::10 80]
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/p/proftpd-dfsg/proftpd-basic_1.3.2-3_i386.deb  Cannot initiate the connection to gb.archive.ubuntu.com:80 (2a01:450:10:1::10). - connect (101: Network is unreachable) [IP: 2a01:450:10:1::10 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    mikey@ubuntu:~$
    EDIT: this was fixed by gedit /etc/apt/sources.list and removing gb. from gb.archive.ubuntu.com
    Last edited by MadMikeyB; April 25th, 2010 at 10:09 PM.

  4. #1134
    Join Date
    Apr 2010
    Beans
    1

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

    You should maybe include this in the FAQ as I am relatively sure it is a common problem among newbies like myself, took me the better part of 2 or 3 hours to figure this out, port conflicts, frustration is thy name.


    ProFtpd...Unbindable port 21

    http://ubuntuforums.org/archive/index.php/t-822706.html

    The problem is the default FTP service installed in Ubuntu Server (yeah, I should've known) that you just comment out in the /etc/inetd.conf

  5. #1135
    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)

    Added to first post in last section, thanks for helping it is more than welcome

  6. #1136
    Join Date
    May 2010
    Beans
    5

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

    hello frodon

    i wanna thank you for ya verryyy goood tutorial right here! but as you can imagine, i got also a lil problem with my proftpd.conf....so let me explain...

    my conf-file is as like as yours!! only a few changes (port, servername, etc)

    when i log in with my user "userftp" i can directly see /home/FTP-shared! soo thats fine, ok...BUT now...when i click to go "BACK" in the directories, i can navigate through the whole pc!!!!! please tell me how i can LOCK INTO HOMEDIRECTORY!!!?? because...in the proftpd.conf i see the line with the right commands!

    sorry my ubuntu is in an virtual machine and i can't copy and paste ^^
    i will post the conf-file....

    thx for your help
    p.s. i saw a line wich contains MAYBE the problem?! ...this here:

    <Directory /home/FTP-shared>
    Umask 022 022
    AllowOverwrite off
    <Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD> <---- maybe one of these have to be changed or somethin like that?!??

    big big thx....
    bye
    Fil

  7. #1137
    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)

    Check the home directory you set for your ftp user, in the proftpd.conf file the Default DefaultRoot command is the one which define where to lock the user (either ~ for the users's home dir or a complete path).

  8. #1138
    Join Date
    Sep 2006
    Location
    Prato, Italy
    Beans
    16
    Distro
    Ubuntu 10.04 Lucid Lynx

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

    Quote Originally Posted by mcfil View Post
    hello frodon

    i wanna thank you for ya verryyy goood tutorial right here! but as you can imagine, i got also a lil problem with my proftpd.conf....so let me explain...

    my conf-file is as like as yours!! only a few changes (port, servername, etc)

    when i log in with my user "userftp" i can directly see /home/FTP-shared! soo thats fine, ok...BUT now...when i click to go "BACK" in the directories, i can navigate through the whole pc!!!!! please tell me how i can LOCK INTO HOMEDIRECTORY!!!?? because...in the proftpd.conf i see the line with the right commands!

    sorry my ubuntu is in an virtual machine and i can't copy and paste ^^
    i will post the conf-file....

    thx for your help
    p.s. i saw a line wich contains MAYBE the problem?! ...this here:

    <Directory /home/FTP-shared>
    Umask 022 022
    AllowOverwrite off
    <Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD> <---- maybe one of these have to be changed or somethin like that?!??

    big big thx....
    bye
    Fil
    Have you put
    DefaultRoot ~
    in the config file?

  9. #1139
    Join Date
    May 2010
    Beans
    5

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

    hey guys!

    yess, guys... i got the lines in my config-files!! thats why i'm about to get crazy!!
    i have this

    DefaultRoot ~

    and i also tried the whole path, like u said, frodon!

    DefaultRoot /home/FTP-shared

    but no chance!! i can navigate trough my whole computer!

  10. #1140
    Join Date
    May 2010
    Beans
    5

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

    sorry....i forgot my conf.file...

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

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

    ServerName "mein ftp server"
    ServerType standalone
    DeferWelcome on

    MultilineRFC2228 on
    DefaultServer on
    ShowSymlinks off

    TimeoutNoTransfer 600
    TimeoutStalled 100
    TimeoutIdle 2200

    DisplayChdir .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 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

    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 "willkommen daheim"

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

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

    MaxLoginAttempts 5

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

Page 114 of 123 FirstFirst ... 1464104112113114115116 ... 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
  •