Re: Quota problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



glarm wrote:
Hello,
I am trying to set up quota on RedHat 8.0 for my account then replicate it
to the other 1500 accounts. Hwo do I go about doing this?
I have added the following...

LABEL=/ / ext3 defaults,usrquota 1 1

You have to set at least one user account up with quotas, then just use the following line to set all the other users up, using that users quota settings This is providing that they are using ID's above 499 (which they [probally will do)

ie:

Suppose the quotas have been setup for the user 'mark', as we want to set this up for all the other users.

We have to enter the following command, The '499' in this command is the UID where to start from, as normal users ID
starts at 500, then this is fine and will not effect system users.

#/usr/sbin/edquota -p mark `awk -F: '$3 > 499 {print $1}' /etc/passwd`

(The above is all on one line)

Hope that helps

Mark

--
To steal ideas from one person is plagiarism;
to steal from many is research.



--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux