Solved

Linux Quotas

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

828 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