Sponsored Content
Operating Systems Solaris Create user with Restricted Space usage Post 302407580 by achenle on Thursday 25th of March 2010 08:39:08 PM
Old 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

Restricted user

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

To provide restricted access to certain user's on linux box

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

A user with restricted ftp access to a folder

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

Need to create a restricted user(Centos)

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

User should be restricted moving a folder

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

create a restricted user

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

Command to display the space usage (memory usage) of a specific directory.

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

Restricted user

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

Create restricted user for programs

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

Memory usage per user,percent usage,sytem time in ksh

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
QUOTA(1)						    BSD General Commands Manual 						  QUOTA(1)

NAME
quota -- display disk usage and limits SYNOPSIS
quota [-ghlu] [-f path] [-v | -q | -r] quota [-hlu] [-f path] [-v | -q | -r] user ... quota -g [-hl] [-f path] [-v | -q | -r] group ... DESCRIPTION
The quota utility displays users' disk usage and limits. By default only the user quotas are printed. Disk block usage and limits are shown in 1024-byte blocks. The following options are available: -f path Only display quota information for the file system that contains the specified path. This can be any file within a mounted file sys- tem. -g Print group quotas for the group of which the user is a member. -h "Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte. -l Do not report quotas on NFS file systems. -q Print a more terse message, containing only information on file systems where usage is over quota. The -q flag takes precedence over the -v flag. -r Display the raw quota information as it appears in the quota structure. Non-zero time values will also be displayed in ctime(3) for- mat. This option implies -v and will override the -q flag. -u Print the user quotas. This is the default unless -g is specified. -v Display quotas on file systems where no storage is allocated. Specifying both -g and -u displays both the user quotas and the group quotas (for the user). Only the super-user may use the -u flag and the optional user argument to view the limits of other users. Non-super-users can use the -g flag and optional group argument to view only the limits of groups of which they are members. The quota utility tries to report the quotas of all mounted file systems. If the file system is mounted via NFS, it will attempt to contact the rpc.rquotad(8) daemon on the NFS server. For UFS file systems, quotas must be turned on in /etc/fstab. If quota exits with a non-zero status, one or more file systems are over quota or the path specified with the -f option does not exist. If the -l flag is specified, quota will not check NFS file systems. FILES
quota.user located at the file system root with user quotas quota.group located at the file system root with group quotas /etc/fstab to find file system names and locations SEE ALSO
quotactl(2), ctime(3), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8), rpc.rquotad(8) HISTORY
The quota command appeared in 4.2BSD. BSD
February 3, 2007 BSD
All times are GMT -4. The time now is 07:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy