edit users quota in a script
Manolis Kiagias
sonic2000gr at gmail.com
Sat Feb 7 04:09:47 PST 2009
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.
More information about the freebsd-questions
mailing list