Date: Wed, 01 Sep 1999 07:31:13 +0300 From: Evren Yurtesen <yurtesen@ispro.net.tr> To: "James F. Ruffer III" <freebsd@empireone.net> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: adduser Message-ID: <37CCAC11.7D11B2A2@ispro.net.tr> References: <01BEF3D4.62BFB5E0.support@junglenote.com> <37CC0320.705EFF4B@tatnet.com> <00ce01bedb6c$40640440$ecc276d1@empireone.net> <37CC0952.FDB7916E@ispro.net.tr> <012001bedb91$5e3dc580$ecc276d1@empireone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
well you can copy 1 users quota settings with the -p option and you can say to the edquota that copy this settings to the UIDs between 1000-5000 this is working I have tried :) when you use adduser script it is giving the next available UID so you wont have trouble if that UID is one of the UIDs between 1000-5000 "James F. Ruffer III" 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37CCAC11.7D11B2A2>