Hello!
I am about to setup a quota for all my users, and would like to know if
there is a way to "edquota" all users at the same time.
<group: others, 20>.<SunOS 4.1.3>
Thanks!
Salut, Nabil Z.
I am about to setup a quota for all my users, and would like to know if
there is a way to "edquota" all users at the same time.
<group: others, 20>.<SunOS 4.1.3>
Thanks!
Salut, Nabil Z.
for i in `grep ":20: /etc/passwd `Quote:>Hello!
>I am about to setup a quota for all my users, and would like to know if
>there is a way to "edquota" all users at the same time.
><group: others, 20>.<SunOS 4.1.3>
you may want to tweak `grep ":20: /etc/passwd ` part or replace it
with `cat file ` where file has list of all users you want to set
up quota for.
prototype-user is a sample user crafted by hand.
RTFM on edquota ....
_zjt ( wannabe in trainig )Quote:>Thanks!
>Salut, Nabil Z.
edquota -p prototype-user `grep :20: /etc/passwd | cut -d: -f1`Quote:>for i in `grep ":20: /etc/passwd `
>do
>edquota -p prototype-user $i
>done
assuming the list isn't excessive. Use xargs in that case.
I use ``nobody''.Quote:>prototype-user is a sample user crafted by hand.
--
| The net never sleeps. |
| Rob Quinn |
Hi Admins,
we recently introduced quotas to our users. I have to modify our scripts
that are related to user administration.
What do you do with the quota-entries of deleted users? If there
are quotas for a nonexisting user, does 'quotacheck' bail out? Or fix
it?
Thanx in advance
Stef
--
4. Trying to print out variable with embedded quotes
5. Any Disk QUOTA for each user?
6. Auto-install of WorkShop compilers
9. How to set disk quota for a user?
10. How to set quota to many users at a time.
12. how to create quota for each user?