Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

1 Comment

Thanks, it works fine.
I only made one change, I added a line after line 38:
38 echo “Size is ok”
39 sizeinbyte=$((${2}*1024))
and changed the quotaAmount in line 71:
from ${2}000 to ${sizeinbyte}
so that the quota-size is really in KB and not in 1000 Bytes. If you want to use MB, you only have to change line 39: sizeinbyte=$((${2}*1024*1024))
With JRB-Utils setquota it took round about 10 Seconds per user to set the quota over a WAN-Line, with this script the quotas of 1000 Users are set in 10 seconds!!!