Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How to allocate quota per user
@ 1998-02-20  5:00 yongjoonchoi
  1998-02-21  5:00 ` Tim Mooney
  0 siblings, 1 reply; 2+ messages in thread
From: yongjoonchoi @ 1998-02-20  5:00 UTC (permalink / raw)



In advfs or ufs, how to allocate quota per user(total 20,000) using
shell script?


thanks



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to allocate quota per user
  1998-02-20  5:00 How to allocate quota per user yongjoonchoi
@ 1998-02-21  5:00 ` Tim Mooney
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Mooney @ 1998-02-21  5:00 UTC (permalink / raw)



In article <34ED8540.41C6@is.digital.co.kr>,
yongjoonchoi  <yongjoonchoi@is.digital.co.kr> wrote:
> In advfs or ufs, how to allocate quota per user(total 20,000) using
> shell script?

You could do any of these things:

1) Set up some quota prototype users with your standard quota(s), then
use

	edquota -p prototypeuser realuser

to apply prototypeuser's quota to realuser.

2) Write a program that uses the quotactl() call to set someone's quota.
It works for both advfs and ufs, even if your manpage says differently
(and it may).


#1 works pretty well if you only have a handful of default quota
configurations.  #2 works better in general, especially if you have a lot
of users that have odd quotas.

If you check the alpha-osf-managers mailing list archive, you'll find a
program in there by Richard Jackson that does what you need, if you decide
to choose option #2.

Tim
-- 
Tim Mooney                              mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-02-21  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-20  5:00 How to allocate quota per user yongjoonchoi
1998-02-21  5:00 ` Tim Mooney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox