[cvs] [Wiki] changed: QuotaHack

Wiki Guest wiki at wiki.horde.org
Mon Nov 14 10:41:28 PST 2005


guest [203.145.159.37]  Mon, 14 Nov 2005 10:41:28 -0800

Modified page: http://wiki.horde.org/QuotaHack
New Revision:  1.3
Change log:  sudoers added

@@ -1,5 +1,12 @@
 Here is a hack that displays quota on a server not supporting quota, like dovecot or any mail server without using the built in quota feature(If you find this simpler).
+
+Edit your /etc/sudoer, add the following lines. Replace apache with whatever your httpd/apache user is. RHEL/Fedora user is apache.
+
+<code type="bash">
+apache  ALL = NOPASSWD: /usr/bin/du
+apache ALL = NOPASSWD: /bin/ls
+</code>
 
 create a folder 'quota' on your server '/' partition
 
 <code type="bash">


More information about the cvs mailing list