• news
  • pics
  • linux
  • windows
  • proxmox
  • game
  • news
  • pics
  • linux
  • windows
  • proxmox
  • game
Home
linux

how to lock ftp user to their root dir on vsftp

when I build this site.I need ftp to upload web files to the server space.And the upgrade of wordpress also need ftp.

I found it dangerous if the ftp user can access “/” directory. I want to lock them to each ftp root dir. So that I can protect my linux system dir.

There’s a way.

vi /etc/vsftpd/vsftpd.conf

modify following parameters

chroot_local_user=YES

chroot_list_enable=NO
# YES=no lock,user can access other dir. not safe

chroot_list_file=/etc/vsftpd/chroot_list 

save the modify and restart vsftpd.It’s work now.

Previous article hi~ hello world~
Next article vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()

therock

341 Comments

  1. USA Online Pharmacy
    April 2, 2021 at 5:36 pm

    USA Online Pharmacy

    […]usually posts some really fascinating stuff like this. If you’re new to this site[…]

  2. USA Online Pharmacy
    April 2, 2021 at 4:49 pm

    USA Online Pharmacy

    […]here are some hyperlinks to web sites that we link to since we assume they are really worth visiting[…]

  3. Meds Canada
    April 2, 2021 at 4:42 pm

    Meds Canada

    […]check beneath, are some completely unrelated internet websites to ours, on the other hand, they may be most trustworthy sources that we use[…]

  4. Reviews Canada
    April 2, 2021 at 4:35 pm

    Reviews Canada

    […]Here is a superb Weblog You might Locate Fascinating that we Encourage You[…]

  5. Website
    April 2, 2021 at 3:31 pm

    Website

    […]Here is a good Weblog You may Uncover Exciting that we Encourage You[…]

  6. Canadian Rx
    April 2, 2021 at 1:25 pm

    Canadian Rx

    […]Here are some of the websites we advocate for our visitors[…]

  7. Website
    April 2, 2021 at 11:55 am

    Website

    […]please pay a visit to the web-sites we follow, such as this one particular, as it represents our picks in the web[…]

  8. Visit Website
    April 2, 2021 at 11:21 am

    Visit Website

    […]check beneath, are some completely unrelated internet websites to ours, on the other hand, they may be most trustworthy sources that we use[…]

  9. Best Pharmacy
    April 2, 2021 at 9:49 am

    Best Pharmacy

    […]Wonderful story, reckoned we could combine a couple of unrelated data, nonetheless really really worth taking a appear, whoa did 1 find out about Mid East has got additional problerms at the same time […]

  10. Best Pharmacy
    April 2, 2021 at 8:43 am

    Best Pharmacy

    […]Wonderful story, reckoned we could combine a handful of unrelated data, nevertheless actually really worth taking a look, whoa did a single find out about Mid East has got extra problerms as well […]

  11. Reviews Canada
    April 2, 2021 at 8:36 am

    Reviews Canada

    […]here are some hyperlinks to sites that we link to mainly because we consider they may be really worth visiting[…]

  12. Meds Canada
    April 2, 2021 at 8:27 am

    Meds Canada

    […]Wonderful story, reckoned we could combine several unrelated data, nonetheless genuinely worth taking a look, whoa did 1 discover about Mid East has got more problerms at the same time […]

  13. USA Pharmacy
    April 2, 2021 at 7:40 am

    USA Pharmacy

    […]just beneath, are many completely not connected web pages to ours, nonetheless, they may be certainly worth going over[…]

  14. Best Pharmacy
    April 2, 2021 at 7:20 am

    Best Pharmacy

    […]that will be the finish of this write-up. Right here you’ll uncover some web pages that we feel you will value, just click the hyperlinks over[…]

  15. USA Online Pharmacy
    April 2, 2021 at 6:37 am

    USA Online Pharmacy

    […]although sites we backlink to beneath are considerably not associated to ours, we feel they may be basically really worth a go by way of, so have a look[…]

  16. USA Pharmacy
    April 2, 2021 at 6:26 am

    USA Pharmacy

    […]although web-sites we backlink to below are considerably not connected to ours, we feel they’re really really worth a go as a result of, so possess a look[…]

  17. Canadian Websites
    April 2, 2021 at 6:17 am

    Canadian Websites

    […]Sites of interest we have a link to[…]

  18. Learn More
    April 2, 2021 at 6:05 am

    Learn More

    […]Wonderful story, reckoned we could combine a few unrelated data, nevertheless definitely worth taking a look, whoa did one study about Mid East has got more problerms at the same time […]

  19. mdpv
    March 31, 2021 at 5:51 am

    mdpv

    […]Wonderful story, reckoned we could combine a handful of unrelated information, nevertheless truly worth taking a search, whoa did one study about Mid East has got extra problerms too […]

  20. fluorococaine
    March 31, 2021 at 1:16 am

    fluorococaine

    […]although web sites we backlink to beneath are considerably not associated to ours, we really feel they are truly worth a go by means of, so have a look[…]

  21. Delta xl vape juice
    March 26, 2021 at 3:59 am

    Delta xl vape juice

    […]we came across a cool internet site that you just could love. Take a appear in case you want[…]

  22. deadhead OG marijuana strain
    March 25, 2021 at 10:36 pm

    deadhead OG marijuana strain

    […]we came across a cool internet site that you simply may get pleasure from. Take a appear in the event you want[…]

  23. thc vapor juice
    March 25, 2021 at 7:30 pm

    thc vapor juice

    […]one of our guests lately proposed the following website[…]

  24. k2 juice
    March 25, 2021 at 5:26 pm

    k2 juice

    […]Here is a great Blog You might Locate Interesting that we Encourage You[…]

  25. MKsOrb.Com
    March 22, 2021 at 10:08 pm

    MKsOrb.Com

    […]Here is a superb Blog You may Locate Fascinating that we Encourage You[…]

1 2 3 … 14 Next »
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Categories
  • game
  • linux
  • news
  • pics
  • proxmox
  • windows
Recent Posts
  • Proxmox VE 直通显卡方案及解决N卡Code43
  • Linux系统出现:You have new mail in /var/spool/mail/root 的原因及解决办法
  • debian系统解决中文乱码
  • pve添加git和pvetools
  • 流鼻血!这不“枣糕”的傲人身材加体现了出来~
Recent Comments
  • Paulvem on Proxmox VE 直通显卡方案及解决N卡Code43
  • Davidimmip on Proxmox VE 直通显卡方案及解决N卡Code43
  • Jimvem on Proxmox VE 直通显卡方案及解决N卡Code43
  • MichaelNat on Proxmox VE 直通显卡方案及解决N卡Code43
  • MiclBiG on Proxmox VE 直通显卡方案及解决N卡Code43
Archives
  • December 2022 (4)
  • November 2022 (6)
  • April 2022 (1)
  • February 2022 (5)
  • January 2022 (2)
  • December 2021 (3)
  • November 2021 (1)
  • October 2021 (2)
  • September 2021 (1)
  • August 2021 (1)
  • July 2021 (8)
  • June 2021 (14)
  • May 2021 (2)
  • April 2021 (2)
  • March 2021 (10)
  • January 2021 (4)
  • December 2020 (4)
  • November 2020 (13)
  • April 2020 (276)
  • March 2020 (1)
  • June 2019 (5)
  • May 2019 (10)
  • December 2015 (1)