Skip to main content

virtfs missing for some users

Comments

4 comments

  • sparek-3
    With a little bit more consistency with virtfs and with php-fpm's chroot directive, you might have a CageFS like cPanel specific solution.
    0
  • cPanelMichael
    Hello, The following processes may recreate the jailed shell environment, even when shell access is disabled: [LIST]
  • Exim processing filters.
  • Piped email addresses.
  • Cron jobs.
  • Jailed Apache virtual hosts that use the mod_ruid2 module via the EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel" jailshell option in WHM's document. Thank you.
  • 0
  • sparek-3
    Has any thought been put into making this a bit more consistent? I mean, is there any downside to having a /home/virtfs/%username% chroot environment for every user all the time? I just see where you could set php-fpm's chroot directive to /home/virtfs/%username% for each user's pool and have a more closed environment for PHP script execution. But this will only work if /home/virtfs/%username% exists for each user. This is just something I stumbled across and I thought it might make sense.
    0
  • cPanelMichael
    I'm not aware of any downsides, however it's not something that's currently under consideration. I encourage you to open a feature request, including the potential benefits, via: Submit A Feature Request Thank you.
    0

Please sign in to leave a comment.