02-06-2013
Hi venam
Thanks for your reply.
I am working with RHEL, whether the wildcard * will work there with edquota command? Please advice.
Atanu
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm new to Unix and I'm trying to determin how much space I have on this system. the box is dedicated to Oracle and I log in as the oracle user and type quota. It retrunes nothing. Then I log on as root and type quota -v oracle.. It returns nothing! Gosh this is actually a solaris 5.7 box. ... (1 Reply)
Discussion started by: jarthda
1 Replies
2. UNIX for Advanced & Expert Users
Hi Guru,
Need some advice on the PROs and CONs between setting up user quota with NAS and Nis.
Thanks
Regards. YLL (1 Reply)
Discussion started by: yll
1 Replies
3. HP-UX
Hello,
I'm having some trouble with the quota's I've set on our HP-UX B.11.00 U 9000/800. Well not really with the quota's because I was able to set them and get them working without a problem but the problem resides somewhere with our AS/U (Advanced Server for HP9000 Release B.04.06.07 and... (5 Replies)
Discussion started by: chrizz
5 Replies
4. UNIX for Dummies Questions & Answers
Hi all!
I'm a user of Debian Etch. I've problem with my accoun't quota. After I removed all of my files from my home directory, and typed:
du -hs
It showed me:
76K .
But when I used quota command, it showed me:
Disk quotas for user X (uid *********):
Filesystem blocks quota ... (2 Replies)
Discussion started by: mjdousti
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I am new to Unix admin. Can anyone tell me how to set disk quota for the users in /export/home directory? Pls specify the exact command. Thanks (1 Reply)
Discussion started by: solaris5.10
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold.
I have made a script for it but I am facing an error while executing it.
Could any one here guide me further??
Script
#!/bin/sh
warninglimit=350000... (22 Replies)
Discussion started by: Taranjeet Singh
22 Replies
7. UNIX for Dummies Questions & Answers
Hi everyone
I'm really new to all this but i need help creating a script that will produce the following for each user when they log on using bash
You are currently using 91% of your quota
Consider reducing your usage
The 10 biggest directories in your home directory are:
Size Directory... (2 Replies)
Discussion started by: Snoop180
2 Replies
8. Red Hat
Hi,
I want to apply the user quota, but i am unable to apply the quota to user.
Kindly provide the guide line, so that i can sortout the problem.
Step 1: Create partion on device
#fdisk /dev/sda (because hard disk is scsi)
#n (new partition table) i.e /dev/sda8.
#p ( to print the partition... (2 Replies)
Discussion started by: sahu.tapan
2 Replies
9. Linux
I am running on CentOS 5.3 x86 64bit.
I setup quotas on /home as I thought successfully, I tested numerous times with a couple of different users. I login this morning and find my /home near 100% wondering what happened.
I have one user that some how blew through his 3.5 gig quota and... (1 Reply)
Discussion started by: beaker457
1 Replies
10. Solaris
Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users.
In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies
LEARN ABOUT POSIX
edquota
edquota(1M) System Administration Commands edquota(1M)
NAME
edquota - edit user quotas for ufs file system
SYNOPSIS
edquota [-p proto_user] username...
edquota -t
DESCRIPTION
edquota is a quota editor. One or more users may be specified on the command line. For each user a temporary file is created with an ASCII
representation of the current disk quotas for that user for each mounted ufs file system that has a quotas file, and an editor is then
invoked on the file. The quotas may then be modified, new quotas added, etc. Upon leaving the editor, edquota reads the temporary file and
modifies the binary quota files to reflect the changes made.
The editor invoked is vi(1) unless the EDITOR environment variable specifies otherwise.
Only the super-user may edit quotas. In order for quotas to be established on a file system, the root directory of the file system must
contain a file, owned by root, called quotas. (See quotaon(1M).)
proto_user and username can be numeric, corresponding to the UID of a user. Unassigned UIDs may be specified; unassigned names may not. In
this way, default quotas can be established for users who are later assigned a UID.
If no options are specified, the temporary file created will have one or more lines of the format, where a block is considered to be a 1024
byte(1K) block:
fs mount_point blocks (soft =number,
hard =number ) inodes (soft =number,
hard =number)
The number fields may be modified to reflect desired values.
OPTIONS
The following options are supported:
-p Duplicate the quotas of the proto_user specified for each username specified. This is the normal mechanism used to initialize quo-
tas for groups of users.
-t Edit the soft time limits for each file system. If the time limits are zero, the default time limits in
/usr/include/sys/fs/ufs_quota.h are used. The temporary file created will have one or more lines of the form
fs mount_point blocks time limit = number tmunit, files time limit = number tmunit
tmunit may be one of ``month'', ``week'', ``day'', ``hour'', ``min'' or ``sec''; characters appended to these keywords are ignored, so you
may write ``months'' or ``minutes'' if you prefer. The number and tmunit fields may be modified to set desired values. Time limits are
printed in the greatest possible time unit such that the value is greater than or equal to one. If ``default'' is printed after the tmunit,
this indicates that the value shown is zero (the default).
USAGE
See largefile(5) for the description of the behavior of edquota when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
FILES
quotas quota file at the file system root
/etc/mnttab table of mounted file systems
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
vi(1), quota(1M), quotacheck(1M), quotaon(1M), repquota(1M), attributes(5), largefile(5), quotactl(7I)
NOTES
All UIDs can be assigned quotas.
SunOS 5.10 14 Feb 2003 edquota(1M)