Date: Tue, 31 Aug 1999 13:19:49 -0700 From: Deepwell Internet <freebsd@deepwell.com> To: "James F. Ruffer III" <freebsd@empireone.net>, freebsd-isp@freebsd.org Subject: Re: adduser Message-ID: <4.2.0.58.19990831131659.03b126d0@mail1.dcomm.net> In-Reply-To: <012001bedb91$5e3dc580$ecc276d1@empireone.net> References: <01BEF3D4.62BFB5E0.support@junglenote.com> <37CC0320.705EFF4B@tatnet.com> <00ce01bedb6c$40640440$ecc276d1@empireone.net> <37CC0952.FDB7916E@ispro.net.tr>
next in thread | previous in thread | raw e-mail | index | archive | help
Using the quota program you can set quotas for a range of uids. I use this on a webserver we run. If the account is of a certain type I give them a uid in the 1000-3000 range. If it's another type of service then they get a 3000-6000 uid. You can establish that everyone between 1000 and 3000 gets a 10m quota and everyone 3000 - 6000 gets a 50m quota. The users don't have to be created at the time of establishing uid quotas At 04:14 PM 7/31/99 -0400, you wrote: >basically i was using >edquota -p Quota username >this wil set it to a standard 20 mb soft 30 mb hard >im looking to set everyone at a 50 soft 60 hard >auto while adduser is running >i was being lazy by seeing if some one had a script already but i gues iill >have to code one >thankyou guys+dolls >----- Original Message ----- >From: Evren Yurtesen <yurtesen@ispro.net.tr> >To: James F. Ruffer III <freebsd@empireone.net>; <freebsd-isp@FreeBSD.ORG> >Sent: Tuesday, August 31, 1999 12:56 PM >Subject: Re: adduser > > > > why do not you put a line to adduser script something like > > edquota -p 100 $UID > > well I am not sure what is the variable for UID in adduser script > > though, > > this would copy the quota settings of the account with uid 100 to the > > new account > > created...I believe this works even when you do not have an account with > > the > > $UID because I did something like edquota -p 100 1000-10000 > > and now all the users have the same quotas automatically when I add them > > > > is this what you want to do? > > > > Evren > > > > "James F. Ruffer III" wrote: > > > > > hmm does anyone have a great adduser program that wil set repquota > > > while adding the user > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-isp" in the body of the message > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.2.0.58.19990831131659.03b126d0>