Quotas

A short script to assign new users quotas, runs nightly.

#!/bin/bash
ls /home | while read user
do
if [ -d /home/$user ]
then
if ! quota $user | grep home > /dev/null
then 
 edquota -p quota $user
fi
fi
done