• 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. Fast DA
    July 23, 2021 at 3:27 pm

    Fast DA

    […]Here are some of the web pages we suggest for our visitors[…]

  2. Fast DA
    July 23, 2021 at 2:40 pm

    Fast DA

    […]here are some hyperlinks to internet sites that we link to simply because we feel they are worth visiting[…]

  3. Canada Pharmacy Canada Pharmacy
    July 23, 2021 at 7:27 am

    Canada Pharmacy Canada Pharmacy

    […]below you’ll discover the link to some web-sites that we consider you ought to visit[…]

  4. Canada Pharmacy Canada Pharmacy
    July 23, 2021 at 7:02 am

    Canada Pharmacy Canada Pharmacy

    […]one of our guests recently encouraged the following website[…]

  5. Canada Pharmacy
    July 23, 2021 at 5:44 am

    Canada Pharmacy

    […]Here are a few of the websites we suggest for our visitors[…]

  6. betakaroten
    July 20, 2021 at 5:28 am

    betakaroten

    […]The information and facts mentioned within the report are a few of the best obtainable […]

  7. canadapharmacy.com
    July 16, 2021 at 3:56 pm

    canadapharmacy.com

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

  8. Website
    July 16, 2021 at 3:37 pm

    Website

    […]just beneath, are quite a few entirely not connected internet sites to ours, nonetheless, they’re certainly worth going over[…]

  9. visit website
    July 16, 2021 at 2:00 pm

    visit website

    […]we came across a cool web page that you may possibly take pleasure in. Take a search should you want[…]

  10. canada pharmacy online
    July 16, 2021 at 1:50 pm

    canada pharmacy online

    […]below you will obtain the link to some web pages that we feel you must visit[…]

  11. canadian perspective
    July 16, 2021 at 1:46 pm

    canadian perspective

    […]always a major fan of linking to bloggers that I love but don’t get a whole lot of link appreciate from[…]

  12. canadapharmacy.com
    July 16, 2021 at 1:13 pm

    canadapharmacy.com

    […]The data mentioned in the post are several of the best readily available […]

  13. canada pharmacy review
    July 16, 2021 at 11:38 am

    canada pharmacy review

    […]Sites of interest we’ve a link to[…]

  14. online pharmacies canada
    July 16, 2021 at 11:28 am

    online pharmacies canada

    […]that could be the end of this write-up. Here you will uncover some web-sites that we believe you’ll appreciate, just click the links over[…]

  15. canadapharmacy.com
    July 16, 2021 at 11:19 am

    canadapharmacy.com

    […]that would be the finish of this write-up. Here you will obtain some internet sites that we feel you’ll enjoy, just click the links over[…]

  16. canadian pharmacies
    July 16, 2021 at 10:49 am

    canadian pharmacies

    […]usually posts some pretty interesting stuff like this. If you are new to this site[…]

  17. canadian pharmacies
    July 16, 2021 at 9:39 am

    canadian pharmacies

    […]one of our visitors a short while ago proposed the following website[…]

  18. Canada Pharmacy
    July 16, 2021 at 8:47 am

    Canada Pharmacy

    […]although websites we backlink to beneath are considerably not associated to ours, we really feel they’re truly really worth a go as a result of, so possess a look[…]

  19. cell phone signal jammer
    July 16, 2021 at 4:26 am

    cell phone signal jammer

    […]we like to honor quite a few other net internet sites around the web, even if they aren’t linked to us, by linking to them. Beneath are some webpages worth checking out[…]

  20. I love coffee
    July 14, 2021 at 5:28 pm

    I love coffee

    […]Wonderful story, reckoned we could combine several unrelated data, nonetheless seriously worth taking a search, whoa did one particular discover about Mid East has got additional problerms at the same time […]

  21. coffee addict
    July 14, 2021 at 4:25 pm

    coffee addict

    […]Sites of interest we’ve a link to[…]

  22. packwoods delta 8
    July 14, 2021 at 5:00 am

    packwoods delta 8

    […]please pay a visit to the web sites we comply with, including this one, as it represents our picks in the web[…]

  23. packwoods delta 8
    July 14, 2021 at 2:43 am

    packwoods delta 8

    […]one of our visitors recently advised the following website[…]

  24. Buy Weed Online
    July 11, 2021 at 1:13 am

    Buy Weed Online

    […]here are some hyperlinks to websites that we link to because we believe they are worth visiting[…]

  25. Springfield Armory HELLCAT OSP
    July 9, 2021 at 6:07 pm

    Springfield Armory HELLCAT OSP

    […]always a huge fan of linking to bloggers that I appreciate but do not get a great deal of link love from[…]

« Previous 1 … 11 12 13 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)