From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cc3bb2de103fc3f0 X-Google-Attributes: gidfee84,public From: henn@nospam.bigfoot.com (Jay Hennessey) Subject: Re: setquota Date: 1997/10/04 Message-ID: #1/1 X-Deja-AN: 277864176 References: <612dpd$mpa@cantine.wu-wien.ac.at> Organization: We don't need no stinkin organization! Newsgroups: comp.unix.osf.osf1 The standard way to edit quotas is the edquota command. You can also create one user using edquota, then copy that user's settings to other users (it's a flag to edquota..see the man page) I'm not sure of the system calls off the top of my head. -Jay In article <612dpd$mpa@cantine.wu-wien.ac.at>, mitloehn@miss.wu-wien.ac.at (PC7 root user) wrote: >Is there an easy way to set user quota from the shell >or from a C or Perl program? Something like setquota(users, MB)? >Any hints greatly appreciated* > >Regards from Vienna >Johann Mitloehner >mitloehn@wu-wien.ac.at >http://www.wu-wien.ac.at/usr/ai/mitloehn -- "Jesus loves you more than you will know. Wo wo wo. wo wo wo." -Simon and Garfunkle Jay Hennessey For a good time: http://www.kluge.net/~jay/ Although this user is sober, he takes no responsability for what was written. My statements are not representative of any other entity