Add setNewQuota_ForAll.sh
This commit is contained in:
10
setNewQuota_ForAll.sh
Normal file
10
setNewQuota_ForAll.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
for i in `ls /home`;
|
||||||
|
do
|
||||||
|
if [ $i == 'lost+found' ] || [ $i == 'crille' ];
|
||||||
|
then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
/usr/sbin/setquota -u $i 1000M 1020M 0 0 /home
|
||||||
|
#echo "User: " $i
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user