Automatically assigning user quotas

Pete Nesbitt pete at linux1.ca
Mon May 31 04:05:03 UTC 2004


On May 30, 2004 08:43 pm, Ryan Golhar wrote:
> Is there a way to automatically set a user quota without running
> edquota?  For example, whenever a new user gets added to the system, I
> don't want to have to manually set their quota.  I want to use a
> standard quota for all users.
>
> Ryan

I think editquota would work. 'man edquota', have a look at the -p option.
Then you could just wrap that in a script with useradd and feed them both the 
$userid.

-- 
Pete Nesbitt, rhce





More information about the redhat-list mailing list