Robert Jacobs said:

> I am seeking a way to automate edquota from a shell script. Is there an a
> way to
> pipe input into edquota and bypass vi.

$EDITOR.  You'll have to play with it a bit, but write a shell script that
takes a filename on the command line, and parses/modifies that file as a
quota file, then saves it and exits.

Then do

$ EDITOR=my_script edquota <user>

> Or is there some way other than
> using
> edquota that I can use to have a script create many individual quotas?

You can edit the binary file edquota deals with.  Read the man page.
-- 
 Matthew Weigel
 hacker
 [EMAIL PROTECTED]

Reply via email to