Preventing users viewing system information
Hey everyone,
We're running CloudLinux 7.3 and wondered if there was a way of preventing users from being able to see the server capacity? We're not bothered about RAM or CPU - just HD space.
Basically we have a certain account that allows 1Gb of space and we put 200 accounts on each server - making sure /home obviously has over 200Gb (sometimes it might only be 300-400Gb to allow for emergencies, etc - but we don't oversell) - Anyway, a few users have been running the odd script (we don't allow SSH access) that has shown the filesystem size - is there something that allows us to hide it? I was thinking of a certain flag on /home - but don't want to break any scripts :)
Thanks!
Ch.
-
Anyway, a few users have been running the odd script (we don't allow SSH access) that has shown the filesystem size - is there something that allows us to hide it?
Hello, Is this information obtained through a PHP script? If so, you could add "disk_free_space" and "disk_total_space" to the disable_functions line in your PHP configuration file via "WHM >> MultiPHP INI Editor >> Editor Mode". Thank you.0 -
Hi Michael, Perfect - thank you very much :) Ch. 0
Please sign in to leave a comment.
Comments
2 comments