LinuxQuestions.org
Help answer threads with 0 replies.
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 10-07-2005, 03:39 PM   #1
dfcc
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
user/folder size limit


does anyone know of a command or way to limit a user's amount of storage, i have a few users on slackware box, and less than 12gb to share in the /home partition. I need a way without repartitioning my hd and one thats not super complicated. Anyone any ideas? Also if there's a way of just limiting a folder to a certain size that would be just as good? thanks..
 
Old 10-07-2005, 03:43 PM   #2
Sfin
Member
 
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
Try using the "quota" program, that is if you have installed it as one of the slackware packages.

There should be enough material on the net to explain how to use it. I am sorry, but I am not profecient in using it, otherwise I would have given a more detailed answer.
 
Old 10-07-2005, 03:47 PM   #3
dfcc
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
i am using ext3 for all partitions, can i still use quota with ext3? thanks for the advce though
 
Old 10-07-2005, 04:10 PM   #4
dfcc
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
ok scrap that last reply, it does work with ext3, but is there another way without having to recompile my kernel, i've never done it with slackware and don't want to break it already
 
Old 10-07-2005, 08:29 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,107

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Are you sure it's not enabled already? My Slack 10.1 install gave me all the quota tools, so I imagine quota support was built into the kernel.

Anyhow, you need to have the kernel level stuff configured to use quotas. Recompiling a kernel isn't hard (read the guides around here). Just leave a copy of your original kernel lying around so you vcan boot it if there's a problem with the new one. Otherwise, I suppose you could write a shell script to be run from cron that monitors users' disk usage and locks any accounts that use too much space (or prints nasty messages when they login or whatever).
 
Old 10-08-2005, 05:56 AM   #6
rockang
LQ Newbie
 
Registered: Oct 2005
Location: Mumbai, India
Posts: 2

Rep: Reputation: 0
Ya just install the slackware package
 
  


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
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
50M user file size limit FoxyLad Linux - General 4 02-02-2005 08:04 AM
Size limit for folder gubak Linux - Newbie 3 11-11-2004 09:09 AM
limit folder size on server moby Linux - Networking 5 11-02-2004 03:18 PM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM


All times are GMT -5. The time now is 08:30 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