limiting home directory size for a group


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers limiting home directory size for a group
# 1  
Old 01-06-2008
Computer limiting home directory size for a group

Is there a way to set the size of the home directory for every single user in a specific group, in more details:
I have a group & i will have to add about 20 users to it to be their home directories. i want each of the home directories for this group to be limited to 50 MB

Help?
# 2  
Old 01-06-2008
which operating system?

ulimit and quotas spring to mind.
# 3  
Old 01-06-2008
Solaris 10
# 4  
Old 01-06-2008
Is the filesystem ZFS, UFS or VXFS ?
# 5  
Old 01-06-2008
It's a UFS
# 6  
Old 01-06-2008
The simplest way, as porter mentioned, is to use quotas, see the quota, edquota and quotaon man pages.
# 7  
Old 01-06-2008
I tried both ulimit & quotas but I couldn't get it to work
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Limiting size of rsync batch output

Anyone know if there's a way to limit the size of rsync batch output blob? I need each batch to fix on a 64GB USB key. Using syntax like: rsync -av --only-write-batch=/Volumes/usb/batch --stats /Users/dfbadmin/sandbox/ /Users/dfbadmin/archives/ (7 Replies)
Discussion started by: dfbills
7 Replies

2. Shell Programming and Scripting

How to delete some of the files in the directory, if the directory size limits the specified size

To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies

3. Shell Programming and Scripting

Limiting output file size

Hi guys, I want to know if there is a way to check the current size of the file that I output "stuff" to. For example, if I run a command that outputs data (like another shell script or C program) and i do something like `./a.out &> tempfile.txt` within the script, I want to be constantly... (2 Replies)
Discussion started by: solaris7
2 Replies

4. UNIX for Dummies Questions & Answers

Limiting User mailbox size in /var/spool

How can one limit the size of user mailboxes in /var/spool/mail? (0 Replies)
Discussion started by: proactiveaditya
0 Replies

5. Red Hat

size of my home directory

Hi, I want to know the size of my home directory as user.How can i go for it? dexter (5 Replies)
Discussion started by: dextergenious
5 Replies

6. AIX

max size of a group in /etc/group

I have several AIX servers running 5.2. What is the default max size for a group in /etc/group? How do I change the default max size for a group to be unlimited (if possible)? Thanks (4 Replies)
Discussion started by: antalexi
4 Replies

7. UNIX for Dummies Questions & Answers

home directory & group in UNIX question

folks; I'm going to use LDAP on Solaris 10 to authenticate users, i have 3 questions, i'm hoping it can be possible: 1. when users login for the first time, Is there a way to auto create a home directory like "/home/"user_name" so we don't have to a create a home directory for every single... (3 Replies)
Discussion started by: Katkota
3 Replies

8. UNIX for Dummies Questions & Answers

limiting the size of syslog log files

I would like to limit the size of syslog log files. Is there a setting I can enter in syslog.conf that does this for me. Ideally I would like something along the lines of a circular buffer of N bytes. P.S. I'm a new user, and this site is awesome. I wish I found it earlier. Thanks, David (1 Reply)
Discussion started by: dmirza
1 Replies

9. UNIX for Dummies Questions & Answers

tar file size (volume) limiting

Hi I am trying to create tar files of a whole bunch of files and want to limit them to 50Mb each. I have tried using the -k option but cannot get it to work. Has anyone out there had success creating these? Cheers Ian (1 Reply)
Discussion started by: bigjeff
1 Replies
Login or Register to Ask a Question