Date: Sat, 7 Feb 2009 13:19:49 +0100 From: Nicolas Letellier <nicolas@nicoelro.net> To: Manolis Kiagias <sonic2000gr@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: edit users quota in a script Message-ID: <20090207131949.382844fd.nicolas@nicoelro.net> In-Reply-To: <498D79E9.8050800@gmail.com> References: <20090207130025.f2169029.nicolas@nicoelro.net> <498D79E9.8050800@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 07 Feb 2009 14:09:13 +0200 Manolis Kiagias <sonic2000gr@gmail.com> wrote: > Nicolas Letellier wrote: > > Hello. > > > > I use a script to create automatically my users (with pw, and mkdir, etc...). I use quota, and I have to excute 'edquota -u user', and enter quota informations. So, the process can not be automaticated. And cannot be part of my script. > > > > I don't find informations in edquota(8) manpages about editing user quota without open a file. > > > > Is an other solution exists? I'm looking for a solution in command line (for my script). > > > > Regards, > > > > > The edquota(8) command accepts a '-e' option that allows it to set > quotas non-interactively. Try man edquota again. Haaa... yes, I forgot -e option. Thanks a lot! Regards, -- -Nicolas.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090207131949.382844fd.nicolas>