AW: [imp] IMAP Quota Redhat 7.3 extra code

Tilo Lutz TiloLutz@gmx.de
Tue, 4 Jun 2002 07:16:07 +0200


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