LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-02-2004, 02:27 PM   #1
gepesz
LQ Newbie
 
Registered: Jun 2004
Location: Washington DC, US
Distribution: Debian, Kubuntu
Posts: 23

Rep: Reputation: 15
How to enable and set user quotas?


Hello,

I'm trying to setup user quotas on my Debian Sarge box. I got 'quota' and 'quotatool' installed but I have a question about the edquota command.

When I type edquota username, it opens up a temporary file in vi. Where shall I save this temporary file to AND what should be the name of this file?
 
Old 08-02-2004, 02:47 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I hate telling people to RTFM but I love this howto: http://www.ibiblio.org/pub/Linux/doc...gle/Quota.html

The quota howto helped me out the first time I ever setup quota's. Its pretty straightforward and easy to follow. You shouldn't have any problems and it will probably answer most of your questions. If it doesn't, post back and we'll see what we can't do to help out.
 
Old 08-02-2004, 02:53 PM   #3
gepesz
LQ Newbie
 
Registered: Jun 2004
Location: Washington DC, US
Distribution: Debian, Kubuntu
Posts: 23

Original Poster
Rep: Reputation: 15
Well, I read that manual, in fact that's where I was coming from to the forum. However, that manual doesn't say a word about where to save the file:

http://www.ibiblio.org/pub/Linux/doc...ota.html#ss4.1

That's why I was coming here for help..
 
Old 08-02-2004, 03:01 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You don't need to dave the file -- it's just a temp file and once you've finished editing it and exit the editor, edquota will know what to do with it.
 
Old 08-02-2004, 03:16 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Actually the files will need to reside on whatever partition's root directory you want quota enabled on, after editing fstab of course to tell it to look for quota files.

Say you have /home on /dev/hda7, you'd place the files directly in /home.

Hope this helps. But yeah, when you invoke the edquota command, do it from the parition or directory you want them placed.
 
  


Reply



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
How to set quotas? gubak Linux - Networking 2 01-12-2005 01:42 AM
copying user quotas from proto user jomy Linux - Enterprise 0 01-09-2005 02:06 AM
set disk quotas in raid for linux rockwell_001 Linux - Hardware 1 07-26-2004 08:15 AM
User Quotas humanrig Linux - Hardware 1 03-15-2004 07:24 AM
how to set quotas for user from shellscript mtest Programming 1 10-31-2003 03:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration