03-25-2010
One thing to be aware of if you start using quotas is that in a system that uses a lot of NFS shared file systems, using the "quota" utility to check file system quotas can take a real long time, and if any NFS server is down running "quota" can effectively hang.
And the default configuration of Solaris (and IIRC most Linux distros) is to automatically run "quota" upon a user's logging into a system.
10 More Discussions You Might Find Interesting
1. Cybersecurity
A few of the other employees here need to learn "vi" in order to use crontab to schedule / unschedule jobs on one of our production servers. I tried to set up a login on one of my Linux boxes for them to use "vimtutor", but scrapped it and decided to try for something more secure, since there are... (1 Reply)
Discussion started by: LivinFree
1 Replies
2. Shell Programming and Scripting
Hi,
I need to provide execute access to certain users and not to all users
For ex: if ther is a file /home/august/aug.sh.
and there are user's like jan,feb,mar,april,May and jan is the owner of that box. I need to provide execute access to feb and mar only. I also know the root pwd for... (3 Replies)
Discussion started by: Ashok_oct22
3 Replies
3. AIX
Hi,
We have Oracle Database on AIX 5.3 server.We want to give ftp access to a user to a specific folder.He should be able to put and get files from that specific folder only.Moreover he should not be able to cd to any other filesystems also along with root directory.
Please note that as per... (1 Reply)
Discussion started by: dwiravi
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am a newbie to Linux and I want to create a user which can only execute network config commands like ifconfig and ping(to check the config). The following is what I did but failed.
1) Created a group called 'netconfig'.
2) added a user named 'user'.
3) added user to the 'netconfig'... (4 Replies)
Discussion started by: ankushpandit
4 Replies
5. UNIX for Dummies Questions & Answers
Hi All ,
Some of the users should be restricted using the MV commands on some of the standard folders. We had an issue the other day like from the standard folder structure which was set up one of the user has moved a folder to a different location and the jobs failed as the folder was not... (6 Replies)
Discussion started by: perlamohan
6 Replies
6. Solaris
I have solaris 10 os 64 bit.
I need to create a restricted user which has the following command to run
ls
df and du
list crontab of root and edit crontab of root also
please help (2 Replies)
Discussion started by: reyazan
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
8. AIX
Hello everyone
I need to create a restricted user or a special user. Here is what I need.
I have this path
next to profiles I have server1, server2, server3.......
The user that I have to create I need that he can move between server1. server2, server3 because in every one have logs... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
9. Debian
want to create a user account for each of the key programs installed on my debian server. For example, for the following programs:
Tomcat Nginx Supervisor PostgreSQL
This seems to be recommended based on my reading online. However, I want to restrict these user accounts as much as possible,... (3 Replies)
Discussion started by: Spadez
3 Replies
10. UNIX for Dummies Questions & Answers
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies
LEARN ABOUT REDHAT
repquota
REPQUOTA(8) System Manager's Manual REPQUOTA(8)
NAME
repquota - summarize quotas for a filesystem
SYNOPSIS
/usr/sbin/repquota [ -vsug ] [ -t | -n ] [ -F format-name ] filesystem...
/usr/sbin/repquota [ -avtsug ] [ -t | -n ] [ -F format-name ]
DESCRIPTION
repquota prints a summary of the disc usage and quotas for the specified file systems. For each user the current number of files and
amount of space (in kilobytes) is printed, along with any quotas created with edquota(8).
OPTIONS
-a Report on all filesystems indicated in /etc/mtab to be read-write with quotas.
-v Report all quotas, even if there is no usage. Be also more verbose about quotafile information.
-t Truncate user/group names longer than 9 characters. This results in nicer output when there are such names.
-n Don't resolve UIDs/GIDs to names. This can speedup printing a lot.
-s Try to report used space, number of used inodes and limits in more appropriate units than default ones.
-F format-name
Report quota for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota),
vfsv0 (version 2 quota), rpc (quota over NFS), xfs (quota on XFS filesystem)
-g Report quotas for groups.
-u Report quotas for users. This is the default.
Only the super-user may view quotas which are not their own.
FILES
aquota.user or aquota.group
quota file at the filesystem root (version 2 quota, non-XFS filesystems)
quota.user or quota.group
quota file at the filesystem root (version 1 quota, non-XFS filesystems)
/etc/mtab default filesystems
/etc/passwd default set of users
/etc/group default set of groups
SEE ALSO
quota(1), quotactl(2), edquota(8), quotacheck(8), quotaon(8)
4th Berkeley Distribution REPQUOTA(8)