Hi
> I changed the code a bit,
> Here's the result.
.....
> $junk = exec("sudo /usr/bin/quota -u $imap_admin | grep /dev/md1",
> $quota_data,$return_code);
.....
Is the password stored anywhere?
Maybe it's better to use "su" instead of sudo
because you don't need to run "quota" as root.
Tilo