LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 06-25-2007, 06:23 PM   #1
JohnE1
Member
 
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.

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

Rep: Reputation: 47
http://tldp.org/HOWTO/Quota-4.html#ss4.3
 
Old 06-27-2007, 06:05 PM   #3
JohnE1
Member
 
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.

Regards,
JohnE1
 
  


Reply


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 08:53 AM
Quotas: Setting them Swakoo Linux - Newbie 1 10-27-2005 08:59 AM
Disk Quotas mdk3 Linux - General 12 07-06-2005 05:41 PM
disk quotas johnnycash Linux - General 1 03-16-2004 09:12 AM
disk quotas skeletal29 Linux - General 1 10-13-2002 05:42 PM


All times are GMT -5. The time now is 11:38 PM.

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