Find the answer to your Linux question:
Results 1 to 2 of 2
I haven’t worked on a linux system in about 6 years so I’m a little rusty and wasn’t that great 6 years ago. I’m trying to create a user that ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    5

    Vsftpd user control config not working

    I haven’t worked on a linux system in about 6 years so I’m a little rusty and wasn’t that great 6 years ago. I’m trying to create a user that can only upload to the server. I have picked at several post tutorial and such but it’s still not working. Currently you can still upload and download even though you should only be able to upload. I’m sure I’m missing something but have no clue what


    vsftpd configuration

    write_enable=YES
    listen=YES
    anonymous_enable=NO
    local_enable=YES
    anon_upload_enable=NO
    anon_mkdir_write_enable=NO
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    idle_session_timeout=600
    data_connection_timeout=120
    ftpd_banner=Welcome to FTCGC's FTP service.
    chroot_local_user=YES
    secure_chroot_dir=/var/run/vsftpd
    pam_service_name=vsftpd
    rsa_cert_file=/etc/ssl/certs/vsftpd.pem
    user_config_dir=/etc/vsftpd_user_conf

    upload user config

    dirlist_enable=YES
    download_enable=NO
    local_root=/home/upload
    write_enable=yes

  2. #2
    Just Joined!
    Join Date
    Jul 2009
    Posts
    5
    I figured it out well found someone that did at least…. The config files must be owned by root or vsftpd will ignore them. It’s explained in more detail and even shows some source code explaining the requirement. Hmm well it wont let me post the link so it's at www hajjar us / networktricks / vsftpd_ignore_ucd_files.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •