• 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. Beretta 92fs
    July 30, 2021 at 12:18 am

    Beretta 92fs

    […]we came across a cool web site that you simply might get pleasure from. Take a search for those who want[…]

  2. keystone arms crickett
    July 29, 2021 at 11:49 pm

    keystone arms crickett

    […]we prefer to honor lots of other net sites on the internet, even when they aren’t linked to us, by linking to them. Under are some webpages really worth checking out[…]

  3. springfield armory for sale
    July 29, 2021 at 11:23 pm

    springfield armory for sale

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

  4. Glock 17 gen4 for sale
    July 29, 2021 at 9:39 pm

    Glock 17 gen4 for sale

    […]here are some links to web-sites that we link to for the reason that we think they’re worth visiting[…]

  5. Ruger precision rifle
    July 29, 2021 at 7:59 pm

    Ruger precision rifle

    […]Here are a number of the web sites we advocate for our visitors[…]

  6. Firearms for sale
    July 29, 2021 at 5:32 pm

    Firearms for sale

    […]we like to honor many other world wide web internet sites around the internet, even if they aren’t linked to us, by linking to them. Underneath are some webpages worth checking out[…]

  7. Ruger American Rifle For Sale
    July 29, 2021 at 5:09 pm

    Ruger American Rifle For Sale

    […]always a huge fan of linking to bloggers that I like but don’t get lots of link appreciate from[…]

  8. Bushmaster XM-15
    July 29, 2021 at 3:13 pm

    Bushmaster XM-15

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

  9. Desert eagle
    July 29, 2021 at 1:55 pm

    Desert eagle

    […]although internet sites we backlink to below are considerably not connected to ours, we really feel they’re actually worth a go via, so possess a look[…]

  10. learn more
    July 28, 2021 at 3:41 pm

    learn more

    […]very handful of websites that happen to be detailed beneath, from our point of view are undoubtedly effectively really worth checking out[…]

  11. Click Here!
    July 28, 2021 at 2:57 pm

    Click Here!

    […]below you’ll locate the link to some web sites that we believe you’ll want to visit[…]

  12. canada pharmacy canada pharmacy
    July 26, 2021 at 2:50 am

    canada pharmacy canada pharmacy

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

  13. Canada pharmacy
    July 26, 2021 at 2:50 am

    Canada pharmacy

    […]here are some links to internet sites that we link to mainly because we assume they may be worth visiting[…]

  14. canada pharmacy
    July 25, 2021 at 12:44 am

    canada pharmacy

    […]check beneath, are some entirely unrelated sites to ours, having said that, they are most trustworthy sources that we use[…]

  15. Maltipoo for sale near me
    July 24, 2021 at 6:37 pm

    Maltipoo for sale near me

    […]although web-sites we backlink to beneath are considerably not related to ours, we feel they’re essentially really worth a go by, so possess a look[…]

  16. Fast DA
    July 23, 2021 at 4:06 pm

    Fast DA

    […]the time to read or go to the subject material or web sites we’ve linked to beneath the[…]

« Previous 1 … 12 13 14
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Categories
  • game
  • linux
  • news
  • pics
  • proxmox
  • windows
Recent Posts
  • proxmox7.3直通显卡
  • Proxmox VE 直通显卡方案及解决N卡Code43
  • Linux系统出现:You have new mail in /var/spool/mail/root 的原因及解决办法
  • debian系统解决中文乱码
  • pve添加git和pvetools
Recent Comments
  • EdgarTot on proxmox7.3直通显卡
  • Ashvem on proxmox7.3直通显卡
  • Tedvem on proxmox7.3直通显卡
  • Jackvem on proxmox7.3直通显卡
  • Miavem on proxmox7.3直通显卡
Archives
  • March 2023 (1)
  • 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)