Re: edit users quota in a script

2009-02-07 Thread Manolis Kiagias
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

Re: edit users quota in a script

2009-02-07 Thread Nicolas Letellier
On Sat, 07 Feb 2009 14:09:13 +0200 Manolis Kiagias sonic200...@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

Re: edit users quota in a script

2009-02-07 Thread Stephen Corbesero
Besides the -e switch to edquota as has already been mentioned, I used to make extensive use of the -p switch to use a prototype. For example, you could create a fake user (or group) named q-typical, assign that user the quotas for a typical user, and then use edquota