NAME

cipux_set_quota - Version 3.2.11-1 2005-03-30 CipUX


SYNOPSIS

  cipux_set_quota <Filesystem> <UidNumber> <Size> 0
  cipux_set_quota <Filesystem> <GidNumber> <Size> 1
  cipux_set_quota -h
  cipux_set_quota --help
    filesystem : example /home
    idNumber   : uidNumber if type = 0
               : or gidNumber if type = 1
    size       : in blocks
    type       :  1 = group, 0 = user

Example

 * sets quota for user:
 cipux_set_quota '/home' 10024 100000 0


ABSTRACT

This script sets quota for a idNumber on a given fielsystem. The idNumber may be UidNumber for type = 0 aka users or GidNumber for groups if type = 1.


REQUIREMENTS

  CipUX::CiBot


FUNCTIONS

usage

Prints a usage message.


SEE ALSO

See the CipUX webpage and the manual at http://www.cipux.org See the mailing list http://www.cipux.org/mailman/listinfo/


AUTHOR

Christian Kuelker <christian.kuelker@cipworx.org>


COPYRIGHT AND LICENSE

Copyright (C) 1999-2005 by Christian Kuelker

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA