linutzy
22nd August 2005, 07:48
The following steps are from the perfect debian setup page:
touch /quota.user /quota.group
chmod 600 /quota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
This is from the ispconfig.com site:
Edit the file /etc/fstab and look for the entry, in which the directory /home is mentioned, e.g.
/dev/hda6/home ext2 default 1 2
Add the words usrquota and grpquota as follows:
/dev/hda6 /home ext2 defaults,usrquota,grpquota 1 2
Create the files aquota.user and aquota.group in the directory /home:
touch home/aquota.user
and
touch /home/aquota.group
Change the properties of the new files:
chmod 600/home/aquota.*
Reboot the server:
shutdown -r now
After the restart you have to do the following:
quotacheck -avugm
and
quotaon -avug
I take it both steps are the same correct?
touch /quota.user /quota.group
chmod 600 /quota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
This is from the ispconfig.com site:
Edit the file /etc/fstab and look for the entry, in which the directory /home is mentioned, e.g.
/dev/hda6/home ext2 default 1 2
Add the words usrquota and grpquota as follows:
/dev/hda6 /home ext2 defaults,usrquota,grpquota 1 2
Create the files aquota.user and aquota.group in the directory /home:
touch home/aquota.user
and
touch /home/aquota.group
Change the properties of the new files:
chmod 600/home/aquota.*
Reboot the server:
shutdown -r now
After the restart you have to do the following:
quotacheck -avugm
and
quotaon -avug
I take it both steps are the same correct?