Re: Automatically assigning user quotas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux