I was trying to change the disk quota massively for all accounts, setting them all to let's say 200,000MB. Something simple like this can generate a file like /etc/quota.conf, saved as /etc/newquota.conf:
# cd /etc; cat /etc/trueuserdomains |awk '{print $2}'|sort| while read u; do echo "$u=200000" >> newquota.conf; chmod 600 newquota.conf; done
But apparently modifying /etc/quota.conf does not actually change the quota as I checked it from WHM. before running the above, I changed some of /etc/quota.conf entries manually, but it's not shown on WHM. What else should be done to change the quota other than modifying /etc/quota.conf? I appreciate the suggestions or instructions to change the quota for all accounts.
# cd /etc; cat /etc/trueuserdomains |awk '{print $2}'|sort| while read u; do echo "$u=200000" >> newquota.conf; chmod 600 newquota.conf; done
But apparently modifying /etc/quota.conf does not actually change the quota as I checked it from WHM. before running the above, I changed some of /etc/quota.conf entries manually, but it's not shown on WHM. What else should be done to change the quota other than modifying /etc/quota.conf? I appreciate the suggestions or instructions to change the quota for all accounts.