Automatically assigning user quotas

Mike Burger mburger at bubbanfriends.org
Mon May 31 12:20:15 UTC 2004


Another way around this is to create a group quota for a particular 
group (like, say, users), and make everyone a member of that group.

Then, if you want to assign a specific user their own quota, you can do 
that, later.

On Mon, 31 May 2004, Alexey Fadyushin wrote:

> I think that option '-p' of 'edquota' will be useful in this case. You
> could
> manually set quota for some user and later use that option to copy quota
> settings from that user to newly created user.
> If you need to do this automatically for each new user, you could write
> a
> shell script for creating users and use it instead of `useradd`. The
> 'useradd'
> and 'edquota' command in this case will be called from that script.
> 
> Alexey Fadyushin
> Brainbench MVP for Linux.
> http://www.brainbench.com
> 
> 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
> > 
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request at bubbanfriends.org

with a message of: 

subscribe





More information about the redhat-list mailing list