creating 1000 users with disk quota of 30MB
i need to create 1000 users on RHEL 4. i have created a shell script to do so.
for i in `userlist.txt`
do
useradd -d /mnt/new/$i -p $i $i
chown -R $i:$i /mnt/new/$i
echo "useradded- $i"
done
but i want to limit each users disk quota.
please tell me how should i proceed.
one more thing i want to know is what is the default quota of a linux user in RHEL4 created through useradd command.
|