PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : frage zu quota



Prick
12.09.01, 21:59
Ich habe mich entschloßen Quota auf meinen kleinen Server zu setzen und nun habe ich ein Problem.
Wahrscheinlich liegt es an meiner ungeschickten partitionierung.
einziger eintrag in meiner fstab:
/dev/hda1 / ext2 defaults,usrquota usw..
natürlich gibt es noch eine swappartition. Frage: Wie muß nun die quota.user und quota.group aussehen? Und wo muß die rein? Danke
auf wiedersehen

micha
12.09.01, 22:40
<BLOCKQUOTE><font size="1" face="Arial,Helvetica,Geneva">Zitat:</font><HR> Zitat Quota-Mini-Howto:

4.5 Create quota record "quota.user" and "quota.group"

Both quota record files, quota.user and quota.group, should be owned by root, and read-write permission for root and none for anybody else.

Login as root. Go to the root of the partition you wish to enable quota, then create quota.user and quota.group by doing:


touch /partition/quota.user
touch /partition/quota.group
chmod 600 /partition/quota.user
chmod 600 /partition/quota.group

4.6 Reboot

Now reboot system for the changes you have made to take effect.
[/quote]

Steht doch alles in dem Howto ;)
Du hast nur eine Partition, also musst du die 2 Dateien direkt unter "/" erstellen, danach zum Aktivieren neu booten.
Jetzt kannst Du mit



edquota -u BENUTZER

den Benutzer editieren.

Gruß micha