Solved

Linux Quotas

Posted on 1998-12-08
2
280 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
Comment Utility
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
Comment Utility
 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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 …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

772 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

9 Experts available now in Live!

Get 1:1 Help Now