?
Solved

Linux Quotas

Posted on 1998-12-08
2
Medium Priority
?
286 Views
Last Modified: 2013-12-15
I need to edit my system init script to turn user quotas on at startup.  I don't know what the init script is called. Can anyone help?
0
Comment
Question by:jonpurse
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Expert Comment

by:robinM
ID: 1631830
Is that a girls surname you've got?  Only kidding, sorry jon I can't offer you an answer
0
 
LVL 4

Accepted Solution

by:
davidmwilliams earned 80 total points
ID: 1631831
 In /etc/rc.d, or perhaps /etc/rc*.d, you will find lots of scripts that are executed when the system changes a run-level, which includes booting up.  You could insert a new script in there to turn quotas on.  Note that the script should be a letter S followed by a number followed by the script name.  'S' scripts 'start' things ('K' scripts kill them) and the number indicates the order to execute the script.
  However, are you sure you need to turn quotas on at each reboot?  Try doing a man -k quota and see if you have a 'quotaon' type command, which lets you specify quotas are enabled for a file-system.  Then, you can just forget about it and the quotas will always be enforced by the system until you run 'quotaoff'.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question