Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2001 17:17:21 +1000
From:      "whisky" <whisky@macroshell.net>
To:        <questions@freebsd.org>
Subject:   Quotas Problem
Message-ID:  <002301c0f88f$e1fadda0$0100000a@whisky>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0020_01C0F8E3.B349D980
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am sorry to bother you from your daunting dask of coding one of the =
best OS's out there but I have a issue with quotas which I thought you =
might be able to shed some light on.

I setup group quotas via=20

# edquota -g groupinquestion

and instead of setting the quota for every user in the group... ie 20mb =
each user... it set 20mb for the whole group... I run a webhosting co =
and to setup a quota for every user would take time as we have to handle =
approx. 50 logins per day this gets annoying. So if there is a way to =
set for every user in a easy -g method that would be great... Or even a =
script to set the quota per user.. I have setup a personalised adduser =
script for the box which works great. But can't work out how I would do =
per user...=20

ie

# edquota -u username

and then the script edit the blocks/inodes (I suck at coding)

Thanks in advanced,

Ramon Gonzalez
whisky@MacroShell.net
MacroShell Sysadmin
-whisky

------=_NextPart_000_0020_01C0F8E3.B349D980
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am sorry to bother you from your =
daunting dask of=20
coding one of the best OS's out there but I have a issue with quotas =
which I=20
thought you might be able to shed some light on.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I setup group quotas via </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><STRONG># edquota -g=20
groupinquestion</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and instead of setting the quota for =
every user in=20
the group... ie 20mb each user... it set 20mb for the whole group... I =
run a=20
webhosting co and to setup a quota for every user would take time as we =
have to=20
handle approx. 50 logins per day this gets annoying. So if there is a =
way to set=20
for every user in a easy -g method that would be great... Or even a =
script to=20
set the quota per user.. I have setup a personalised adduser script for =
the box=20
which works great. But can't work out how I would do per user... =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ie</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><STRONG># edquota -u =
username</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and then the script edit the =
blocks/inodes (I suck=20
at coding)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advanced,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Ramon Gonzalez</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"mailto:whisky@MacroShell.net">whisky@MacroShell.net</A></FONT></D=
IV>
<DIV><FONT face=3DArial size=3D2>MacroShell Sysadmin</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-whisky</FONT></DIV></BODY></HTML>

------=_NextPart_000_0020_01C0F8E3.B349D980--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002301c0f88f$e1fadda0$0100000a>