Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: tiok_sr@tampere.fi (Seppo Routimo)
Subject: Re: setquota
Date: 1997/10/09	[thread overview]
Message-ID: <1997Oct9.142931.3566@manse9> (raw)
In-Reply-To: 343C83B7.A464D936@kudonet.com


In article <343C83B7.A464D936@kudonet.com>, Patrick Mendoza <jvc411@kudonet.com> writes:
> PC7 root user wrote:
> 
>> Is there an easy way to set user quota from the shell
>> or from a C or Perl program? Something like setquota(users, MB)?
>> Any hints greatly appreciated*
>>
>> Regards from Vienna
>> Johann Mitloehner
>> mitloehn@wu-wien.ac.at
>> http://www.wu-wien.ac.at/usr/ai/mitloehn
> 
>>
> As root:
> 
> # cp /dev/null /home/quotas
> # chmod 600 /home/quotas
> # chown root /home/quotas
> 
> Editing users' quotas individually:
> 
> #edquota (user)
> 
> The -p option to set quotas for multiple users:
> 
> #edquota -p (user) (user) (user)
> 
> Hope this helps.  :-)
> 
> -Patrick
> 
> http://home.kudonet.com/~jvc411/welcome.html
> 

Hi

For some strange reason our quota,edquota etc. don't show anything.
Instead I use vquota, vedquota...
Anyway here's how I did it. (If it is of any use to you)

- First vedquota xxx as a proto-user
- Then cd to the directory where all our users' home-directories are.
  Just tried vedquota -pxxx -u * (our usernames and home-directory names
  are the same) and it really copied the proto quotas to the usernames.

SR



      parent reply	other threads:[~1997-10-09  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-03  4:00 setquota PC7 root user
1997-10-04  4:00 ` setquota Jay Hennessey
1997-10-05  4:00 ` setquota PC7 root user
     [not found] ` <343C83B7.A464D936@kudonet.com>
1997-10-09  4:00   ` Seppo Routimo [this message]
read-only archive

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