|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Edquota alternative for setting quotas?
From: Matthew Weigel (unique
idempot.net)
Date: Fri Jul 01 2005 - 17:55:55 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
unique
idempot.net
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]