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 84 of 123 FirstFirst ... 3474828384858694 ... LastLast
Results 831 to 840 of 1225

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

  1. #831
    Join Date
    May 2007
    Beans
    108
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    I have an ftp server as well as a telnet server running, all of a sudden my ftp server has stopped accepting my password. I am using the same password to login to Ubuntu and also for the telnet server, only for the ftp access my password is being denied. Help is appreciated.

  2. #832
    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 yawnzzzz View Post
    The only thing I've changed since then is the config file.
    Then the most important i think, is to remember what you changed in your config file.

  3. #833
    Join Date
    May 2008
    Beans
    10

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

    Quote Originally Posted by frodon View Post
    Then the most important i think, is to remember what you changed in your config file.
    It would help if I remembered, but I don't because I changed it multiple times. Any suggestions on where to start looking?

    I believe it would have something to do with user permissions, and I'm having trouble finding the commands to view what user permissions I've set up for my userftp along with the user permissions for the directories. I followed your tutorial to set them up, but maybe they somehow got changed by another program.
    Last edited by yawnzzzz; May 12th, 2008 at 09:00 PM.

  4. #834
    Join Date
    May 2007
    Beans
    108
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Quote Originally Posted by vikramsharma View Post
    I have an ftp server as well as a telnet server running, all of a sudden my ftp server has stopped accepting my password. I am using the same password to login to Ubuntu and also for the telnet server, only for the ftp access my password is being denied. Help is appreciated.
    Sorry I forgot to add that I get "530 Login incorrect", eventhough the same password works for logging into my computer and telnet server that I run on my computer.

  5. #835
    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 should post your proftpd.conf too just in case and detail what you enter to login and what apps you use for FTP.

  6. #836
    Join Date
    Nov 2004
    Beans
    14

    Question sign.sh problem

    Hi,

    Im running Ubuntu 8.04 Alt_Server,
    I get this error when running the sign.sh server.csr and haven't proceeded any further (my apologies if I'm repeating someone here but I cant find out whats going on):

    metonymy@Aurelius:/etc/ftpcert$ ./sign.sh server.csr
    ./sign.sh: 33: cannot create ca.config: Permission denied
    CA signing: server.csr -> server.crt:
    Using configuration from ca.config
    error loading the config file 'ca.config'
    6382:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('ca.config','rb')
    6382:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125:
    6382:error:0E078072:configuration file routinesEF_LOAD:no such file:conf_def.c:197:
    CA verifying: server.crt <-> CA cert
    Error loading file ca.crt
    6383:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('ca.crt','r')
    6383:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125:
    6383:error:0B084002509 certificate routines:X509_load_cert_crl_file:system lib:by_file.c:274:
    usage: verify [-verbose] [-CApath path] [-CAfile file] [-purpose purpose] [-crl_check] [-engine e] cert1 cert2 ...
    recognized usages:
    sslclient SSL client
    sslserver SSL server
    nssslserver Netscape SSL server
    smimesign S/MIME signing
    smimeencrypt S/MIME encryption
    crlsign CRL signing
    any Any Purpose
    ocsphelper OCSP helper

    Any suggestions ?
    Whoot for this Howto, awesome work!

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

    Re: sign.sh problem

    You need to run this command as root because the /etc directoryis in the root space. So type sudo ./sign.sh server.csr instead.

  8. #838
    Join Date
    Nov 2004
    Beans
    14
    Quote Originally Posted by frodon View Post
    You need to run this command as root because the /etc directoryis in the root space. So type sudo ./sign.sh server.csr instead.
    Ok, here's the real problem :

    Enter pass phrase for ./ca.key:
    unable to load CA private key
    24053:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:461:
    24053:error:0906A065EM routinesEM_do_header:bad decryptem_lib.c:425:
    CA verifying: server.crt <-> CA cert
    Error opening certificate file server.crt
    24099:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('server.crt','r')
    24099:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:
    unable to load certificate

    wtf eh ? (thanks for quick reply, much appreciated)

    (Nevermind, its working now!)
    Last edited by Vince-0; May 13th, 2008 at 01:12 PM. Reason: Its working !

  9. #839
    Join Date
    May 2008
    Beans
    3

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

    This is a good guide.

    I've one question. Have had a brief look but couldn't see the answer.

    How can I have a single directory with read/write access?

    <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>
    Currently I have this but I'd like to setup /home/FTP-shared/read-write/ and do away with seperate upload/download directories as I'll be updating my webserver this way.

    Can anyone advise what <directory> commands would be needed?

  10. #840
    Join Date
    Jun 2008
    Beans
    2

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

    Hi,

    New to Ubuntu but have some Linux knowledge.

    I have almost the exact same setup as Frodon (btw, thanks for taking the time to write and monitor this useful tutorial). However, my machine is connected to my cable modem through a NETGEAR wireless router. I do not think that the router has a hardware firewall.

    A few things:
    a) I have a dyndns domain name (ricochet.dyndns.info) and ddclient running.
    b) In my .config, I have
    PassivePorts 60000 60100
    MasqueradeAddress ricochet.dyndns.info

    When I restart proftpd, I get this message:
    cschill-desktop - 127.0.1.1:1980 masquerading as 67.188.114.239

    So, I forward port 1980 and 60000-60100 for address 127.0.1.1 in my router setup.

    On my ubuntu machine, I can
    ftp 127.0.1.1 1980
    and I login fine.

    However if I try to do this from my ubuntu desktop:
    ftp ricochet.dyndns.info 1980
    it just hangs. Also, I have a mac running os x on the same wireless network. If I use fugu
    to connect, it just hangs for either address (127.0.1.1 or ricochet.dyndns.info).

    I attached my config file. Thanks for taking the time...

    BTW, I noticed some posts discussing the /etc/hosts file. Here is mine:
    127.0.0.1 localhost
    127.0.1.1 cschill-desktop

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    Chris
    Attached Files Attached Files

Page 84 of 123 FirstFirst ... 3474828384858694 ... 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
  •