Hello. I'm trying to set limits to how much disk space my users can have, and I'm having some problems with it. This is what I've been doing.
I (plan to) have multiple sites on my server, and I've thought of using the Reseller part of Sentora admin panel. I need to do this, so I can set custom packages for various users - some of them will have hard disk limits set to 100 MB, some to 200 MB, some won't be using a mail account, etc.
After creating a test package and a test user, I logged out of my main Sentora account, and then logged in as the test user. The test user created a domain, and an FTP account with RW rights, and started uploading various files to his site via FTP. Instead of disallowing further upload when the limit has been reached, the server allowed the uploads to continue. His site was unavailable because of it, which is fine, but the test user could still keep on uploading. After checking the ownerships, I could see that he was being treated as user 48 / apache.
Is there a way for me to prevent the test user from exceeding the alloted disk space? Something along the lines of - when a user is created through Reseller, he gets his own userid (instead of being treated like user 48), his own /home, every FTP account he creates has the same id as his own, etc.
I (plan to) have multiple sites on my server, and I've thought of using the Reseller part of Sentora admin panel. I need to do this, so I can set custom packages for various users - some of them will have hard disk limits set to 100 MB, some to 200 MB, some won't be using a mail account, etc.
After creating a test package and a test user, I logged out of my main Sentora account, and then logged in as the test user. The test user created a domain, and an FTP account with RW rights, and started uploading various files to his site via FTP. Instead of disallowing further upload when the limit has been reached, the server allowed the uploads to continue. His site was unavailable because of it, which is fine, but the test user could still keep on uploading. After checking the ownerships, I could see that he was being treated as user 48 / apache.
Is there a way for me to prevent the test user from exceeding the alloted disk space? Something along the lines of - when a user is created through Reseller, he gets his own userid (instead of being treated like user 48), his own /home, every FTP account he creates has the same id as his own, etc.