Solved

Linux Quotas

Posted on 1998-12-08
2
281 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
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 20 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now