Visit Jeremy's Blog.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 06-25-2007, 05:23 PM   #1
Registered: Jun 2007
Location: Houston, TX
Distribution: Fedora, CentOS, Ubuntu
Posts: 66

Rep: Reputation: 16
Question Setting disk quotas in a script

I know how to use edquota at the console, but what about setting up disk quotas for a bunch of users at once?

I need to script the disk quota setting for a list of users (NOT an entire group, just select users) in a Bash script.

Pointers, please? Thanks.

Old 06-27-2007, 08:47 AM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Old 06-27-2007, 05:05 PM   #3
Registered: Jun 2007
Location: Houston, TX
Distribution: Fedora, CentOS, Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 16
Thumbs up

Thanks, ramram29!

That HOW-TO is even easier than the solution I found last night in the O'Reilly book, Perl for System Administrators.(1)

If anyone's interested, the book info is below.

(1) Section 2.5 Manipulating Disk Quotas, Chapter 2 - File Systems, Perl for System Administrators by David N. Blank-Edelman, ISBN 1-56592-609-9, First edition, published July 2000.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Quotas or What? dalponis Linux - Software 3 02-04-2006 07:53 AM
Quotas: Setting them Swakoo Linux - Newbie 1 10-27-2005 07:59 AM
Disk Quotas mdk3 Linux - General 12 07-06-2005 04:41 PM
disk quotas johnnycash Linux - General 1 03-16-2004 08:12 AM
disk quotas skeletal29 Linux - General 1 10-13-2002 04:42 PM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration