file system quotas

Quinn Dunkan quinn at auto.ugcs.caltech.edu
Wed Jun 23 19:53:28 EDT 1999


On Mon, 21 Jun 1999 18:53:45 +0200, vmas <vmas at servicom2000.com> wrote:
>Hi,
>I'm using Python for writing system administration scripts with a Unix
>system and I'd like to set quota limits for a given user. Do you know how
>to manipulate the file system quotas using Python? Or, is there a
>Quota module in Python?
>Thanks.

Various unices all seem to have their own way to do quotas.  Under Irix I
use os.system() and os.popen() to run the apropriate commands.  Generally,
if you're doing shellish sorts of things, these two functions are your friends.




More information about the Python-list mailing list