Solved

Linux Quotas

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

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…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

777 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