elizabethturner
22-02-2010, 14:17
Nice discussion and information sharing. I learn some new things from here.
sudo touch /home/aquota.user /home/aquota.group
sudo chmod 600 /home/aquota.*
sudo mount -o remount /home
sudo quotacheck -vagum
#! /bin/sh # check if quota package is available test -x /usr/sbin/warnquota || exit 0 # check if warnquota run is configured test -f /etc/default/quota || exit 0 . /etc/default/quota if [ "$run_warnquota" = "true" ]; then # check if quotas are enabled if grep -q '^[^#]*quota' /etc/fstab; then /usr/sbin/warnquota fi fi exit 0
#! /bin/sh /sbin/quotacheck -avug
sudo chmod a+x,go-w /etc/cron.daily/quota
sudo adduser nickboi
sudo addgroup salesdep
sudo addgroup nickboi salesdep
sudo usermod -G techsupdep nickboi
sudo apt-get install quota
sudo cp /etc/fstab /etc/fstab.bak
gksudo gedit /etc/fstab
/dev/hda2 /home ext3 defaults 0 2
/dev/hda2 /home ext3 defaults,usrquota,grpquota 0 2
sudo edquota -u nickboi
Filesystem blocks soft hard inodes soft hard /dev/hda2 0 450887680 450887680 0 0 0