Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Feb 2009 14:09:13 +0200
From:      Manolis Kiagias <sonic2000gr@gmail.com>
To:        Nicolas Letellier <nicolas@nicoelro.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: edit users quota in a script
Message-ID:  <498D79E9.8050800@gmail.com>
In-Reply-To: <20090207130025.f2169029.nicolas@nicoelro.net>
References:  <20090207130025.f2169029.nicolas@nicoelro.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?498D79E9.8050800>