Yeah, I tried that it works fine. I dont know it's probably something
stupid. Even though it throws that error it will adjust the first person
in the passwd files quota, but no one after that. I've even changed the
script to just deal with one person at a time and I get the same error
but it's succ
Joe Stuart wrote:
I'm trying to implement quota's using the quota interface for perl. The
problem I'm having is when I execute this code.
#!/usr/bin/perl
use Getopt::Std;
use Quota;
getopt("f:s:h:");
die "Usage: $0 -f -s -h \n"
if(!$opt_f || !$opt_s || !$opt_h);
open(PASS, "/etc/passwd