LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Setting Disk Quota for Bulk Users (https://www.linuxquestions.org/questions/linux-server-73/setting-disk-quota-for-bulk-users-731907/)

haariseshu 06-10-2009 07:09 AM

Setting Disk Quota for Bulk Users
 
Hi Guys,
In our organization there are around 1000+ users are using mails. The mailing system is implemented under RHEL using postfix and dovecot. For user based quotas i have implemented Disk Quota. But the problem when i want to edit quota for multiple users with similar limits i'm doing "edquota user" for every users. It seems very difficult. Now I wanna know:

1. Is there any way to edit quota value for multiple users at a single shot?
2. Also there is any method to send alerts mail to the end users on disk utilization?

Pls Help Me with this.

Thanks a lot...

ngiamol 06-10-2009 07:25 AM

I had a similar problem in past. I solved this issue when i installed the webmin in my samba server.

Webmin has an option called "default quota" (or somening similar). In that field you can the set the default quota for every user which will be added in future.

For multiple users all you have to do is to check the usernames (wia webmin always) and sellect the "update quota".

Webmin also gives you the option to send a mail to every user when they reach a specific ammount of disk space.


Nick.

haariseshu 06-10-2009 07:44 AM

Hi Dude,

Thank you for your response.

If I'm using webmin (third party tool) will Redhat give support for this?

Is their any way to achieve this with redhat supported command line tools or GUI tools?

Thanks a lot...

ngiamol 06-10-2009 08:51 AM

As a third party tool, you cannot get support from RH.

Webmin is a GUI tool. You can get it if you type wget http://prdownloads.sourceforge.net/w...0-1.noarch.rpm
Install it (don't forget to start the service by hand or reboot your machine) and can get access to it from any pc in your lan via https://server.ip:10000

For an advanced security, you can configure webmin to accept connection from local lan or a specific ip address.

Just a very important advice.

As you can see under my username, im a linux newbie. That means my knowledge in linux systems is very limited for the moment :) . The advice i give you, is something that worked and working for me (im using Mandriva distro which as far as i know is based on RH). But in case of a problem is more likely i cannot help any further.

Regards
Nick.


All times are GMT -5. The time now is 12:23 PM.