Is there any way to automate user's home folder qouta by script. I have auto useradd
script, and I want to add code in script about quota for home folder of size 2 GB. For example:
edquota sally
Disk quotas for user sally (uid 1045):
Filesystem blocks soft hard inodes soft hard
/dev/loop0 16 0 0 4 0 0
How to make command edqouta
change value of hard limit from 0 to 2037760 by script? in other words how to modify edquota sally
to automatically change value.