04-03-2006
Ok, so far Ive not found any way to have the system to create quotas. Instead I was thinking of creating an empty account (locked) with quotas set for a filesystem so I could use edquota -p. Does anyone see a problem with having this extra account lying around or should I just go the scripting route? Also if this account is locked, does it neccesarily need a home directory. Im asking first instead of trying because it takes me around 3 hours to reload my system. Thanks in advance.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
RedHat 7.0
Caldera 2.4
From Windows 2000 server, you can allow ceratin users to use only so much disk space when they login.
I'm sure you can do that in Linux/UNIX, but I just don't know how or what you call them here (disk quotas maybe?). Anyway, any kind help is always greatly appreciated.... (1 Reply)
Discussion started by: zorro81
1 Replies
2. Filesystems, Disks and Memory
Hi, I'm trying to setup user quotas on my Linux system.
It is Suse 7.3 running the standard kernel from that release.
When I try to run quotaon, I get the following:
# quotaon -v /dev/hdc1
quotaon: using /home/aquota.user on /dev/hdc1: Invalid argument
I can't figure out what it means by... (1 Reply)
Discussion started by: cybler
1 Replies
3. Shell Programming and Scripting
here is the file i must use to write my script (from a repquota -g) :
Group used soft grace ...
group1 -- 270000 0 0 ...
group2 -- 1500005 0 0 ...
group3 -- 55 0 0
... ... ... ... ...
the script has to... (2 Replies)
Discussion started by: tomapam
2 Replies
4. Solaris
Has anyone ever used disk quotas with NIS? I tried to implement it the normal way but since the users only exist in NIS and not in the local passwd file when i try the edquota command it cannot find the user.
Thanks (4 Replies)
Discussion started by: meyersp
4 Replies
5. UNIX for Dummies Questions & Answers
Hello, I will be creating several users on a new AIX box. I would like to limit the amount of data they can keep. How can I do that in smit or with a command.
Thanks - Brad (0 Replies)
Discussion started by: rondebbs
0 Replies
6. Linux
How do I limit the maximum usage space for a specific MySQL user ??
Databases can be unlimited but the total sum of data on all tables and databases shouldn't exceed a limit I want. How to do this ?? (2 Replies)
Discussion started by: Nilesh_lf
2 Replies
7. Ubuntu
Hi peeps,
I have a teenage lad who needs to learn some discipline with internet access etc. etc. My main problem is that he is downloading so much that he is using more than his fair share. What I'd like to do is set a download quota for him so that he can learn what this all means. Can... (10 Replies)
Discussion started by: greadey
10 Replies
8. Solaris
Hello all,
I am trying to set quotas on /export/home filesystem for some of our users on a Solaris Zone I know that you would be redirecting me to some of the documentation pages, but I have already done that.
The /export/home on the Zone is a Veritas FS and I cannot see an entry for... (4 Replies)
Discussion started by: grajp002
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I'm practicing new things with Linux/Unix and I need someone to point me at the right direction.
Lets say I create a user named user1. After creating it, how would I enable quotas for it. I have already added "userquota" under "/etc/fstab" and rebooted my system, but after I run the command... (1 Reply)
Discussion started by: abhi7514
1 Replies
LEARN ABOUT NETBSD
quotaoff
QUOTAON(8) BSD System Manager's Manual QUOTAON(8)
NAME
quotaon, quotaoff -- turn filesystem quotas on and off
SYNOPSIS
quotaon [-g] [-u] [-v] filesystem ...
quotaon [-g] [-u] [-v] -a
quotaoff [-g] [-u] [-v] filesystem ...
quotaoff [-g] [-u] [-v] -a
DESCRIPTION
quotaon announces to the system that disk quotas should be enabled on one or more filesystems. quotaoff announces to the system that the
specified filesystems should have any disk quotas turned off. The filesystems specified must have entries in /etc/fstab and be mounted.
quotaon expects each filesystem to have quota files named quota.user and quota.group which are located at the root of the associated file
system. These defaults may be overridden in /etc/fstab. By default both user and group quotas are enabled.
Available options:
-a If the -a flag is supplied in place of any filesystem names, quotaon/quotaoff will enable/disable all the filesystems indicated in
/etc/fstab to be read-write with disk quotas. By default only the types of quotas listed in /etc/fstab are enabled.
-g Only group quotas listed in /etc/fstab should be enabled/disabled.
-u Only user quotas listed in /etc/fstab should be enabled/disabled.
-v Causes quotaon and quotaoff to print a message for each filesystem where quotas are turned on or off.
Specifying both -g and -u is equivalent to the default.
FILES
quota.user at the filesystem root with user quotas
quota.group at the filesystem root with group quotas
/etc/fstab filesystem table
SEE ALSO
quota(1), libquota(3), fstab(5), edquota(8), quotacheck(8), repquota(8)
HISTORY
The quotaon command appeared in 4.2BSD.
BSD
December 11, 1993 BSD