06-17-2009
You could just give that user its own file system. The only way to do what you are asking is to set up a quota (and the file system that has the quotas must be its own file system).
Essentially, if you have a 4GB /home you need to give your other users a quota of however much you wish where the total of their quota does not equal 1GB, and then give the other user either no quota or a 3GB quota (giving them a quota can cripple them if they run out of inodes).
Otherwise, create a new file system for user "c" and make it >3GB or set it so there is no reserved space for root. then, make the ownership and permissions for that user conducive to what you want, and change their home directory to that directory OR simply let them use it for application/scratch/whatever space
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a way to easily change an account to be a non login account (NP in the shadow) file?
I know I can just edit the file but that is not what we want to do. We use access control software and want to provide a way to set an account to be non-login using simple commands that can be mapped... (0 Replies)
Discussion started by: LordJezo
0 Replies
2. Linux
Is it possible to mount a disk from a non-root account?
I'm developing a Java application which executes commands in the shell using the java.lang.Runtime.exec api, which runs fine for commands ls, df, etc., but for commands mount and umount, i have problems as I need to be root to eecute these.... (8 Replies)
Discussion started by: brendan76
8 Replies
3. UNIX for Dummies Questions & Answers
I have access to 15+ UNIX boxes at work, and I do not consistently log onto all of them over time. When I do try to access one I havent been on in awhile, my account is locked as the password has expired.
I need to request to the UNIX SA's that the password expiration is 90 days and that if it... (1 Reply)
Discussion started by: stringzz
1 Replies
4. UNIX for Dummies Questions & Answers
I keep on getting an error on my site saying
I've got a 250GB dedicated server, and have used less than 200mb of that.
The site has only been on the server for just over a month.
What does this mean and how can I sort it? (8 Replies)
Discussion started by: thehaapyappy
8 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. Forum Support Area for Unregistered Users & Account Problems
Hi there,
I may have had a typo in my email previously provided. I have doublechecked my email for Scott's reply but havent seen it, so I am creating a new post.
My new email can be either one of these: <removed> or <removed>
I beleive my old email was <removed by admin>
thanks for your... (1 Reply)
Discussion started by: AKelam_MagnusA
1 Replies
7. How to Post in the The UNIX and Linux Forums
I have made password less connection to my remote account. and i tried to execute commands at a time. but i am unable to execute the commands.
ssh $ACCOUNT_DETAILS@$HOST_DETAILS
cd ~/JEE/*/logs/ (1 Reply)
Discussion started by: kishored005
1 Replies
8. Post Here to Contact Site Administrators and Moderators
Hi,
Can anyone suggest me for the below steps.
Here the index files is nothing but a text file and In index file there are n number of pdf files.
Step 0 check out if this is for A(index file) or B(index file)
1. Read the first line of the original index file
2. Read the 9th character... (1 Reply)
Discussion started by: pavand
1 Replies
9. Windows & DOS: Issues & Discussions
Hello,
Does anyone know what happens to your skype account if you close the outlook.com email account which are linked together? As you know they are both owned by Microsoft.
Thanks (0 Replies)
Discussion started by: milhan
0 Replies
quota(1) General Commands Manual quota(1)
NAME
quota - displays disk usage and limits
SYNOPSIS
quota [-agGuUqv]
quota [-a] [-g] [groupname] [-qv]
quota [-a] [-G] [groupID] [-qv]
quota [-a] [-u] [username] [-qv]
quota [-a] [-U] [userID] [-qv]
OPTIONS
Displays quota information for all mounted file systems: those in the /etc/fstab file and those mounted manually or with automount. The -q
option takes precedence over the -a option. When specified without the groupname argument, displays group quotas for groups of which you
are a member. Displays group quotas for the group when you specify groupname. When specified without the groupID argument, displays group
quotas for groups of which you are a member. Displays group quotas for the group when you specify groupID. Displays only your user quotas
(the default) when specified without the username argument. Displays user quotas for the user when you specify username. Displays only
your user quotas (the default) when specified without the userID argument. Displays user quotas for the user when you specify userID.
Displays information only for file systems that have disk quotas and where usage is over quota. Takes precedence over the -v and -a
options. Displays quota information for all mounted file systems that are specified in the /etc/fstab file. Quota information is dis-
played for each file system whether or not quotas are enabled for it. The -q option takes precedence over the -v option.
DESCRIPTION
The quota command displays disk space usage and limits. Disk quotas are displayed as 1 kilobyte blocks.
By default, only your user quotas are displayed. If you use the -g or the -G option without an argument, the quota command displays group
quotas for groups of which you are a member.
Unless you use the -v option, the quota command reports only on file systems listed in /etc/fstab that have disk quotas and under which you
have files. If quota exits with a status of 1, one or more file systems are over quota. If quota exits with a status of 2, there are sys-
tem errors.
NOTES
The term file system represents either a UFS file system or an AdvFS fileset.
Do not use both a user and a group option in the same command.
RESTRICTIONS
You must be the root user to use the optional username or userID argument to view information about another user, or to use the optional
groupname or groupID argument to view information about a group to which you do not belong.
FILES
Contains user quotas for each file system. Contains group quotas for each file system. Contains file system names and locations.
SEE ALSO
edquota(8), quot(8), quotacheck(8), quotaon(8), quotaoff(8), repquota(8), quotactl(2), fstab(4)
quota(1)