now my sudo code is workin'. ^^

and can get quota info from
system("sudo xxx/bin/vuserinfo account|grep quota")

this is workin' for commanding something.
but i didn't get any return value or string from this.

how can i solve this problem???

> thanks.
> and i have one more silly question!
> how can i allow my apache to do sudo command?
>
>> i dont know how this could be hard
>> simple php script or system() that doing "sudo
>> /home/vpopmail/bin/vadduser {option}" will do of course you had to
>> allow apache to do that command in sudoers
>>
>>
>>
>> On Tue, 27 May 2003 10:13:33 +0545 (NPT)
>> <[EMAIL PROTECTED]> wrote:
>>
>>> hello,
>>> i am using QMail + VPopAdmin + sqwebmail for my school.
>>> and i used to make a new account w/ QmailAdmin.
>>> now i am so tired of pushing ADD button to make a new account!!!
>>> there are hundreds of new accounts i need to admit.
>>> so i decided to make online register form.
>>> if there are any plug-ins or sources for that, i will be so happy ~:)
>>> any suggestions for me~???
>>> thanx~*
>>>
>>>
>>>
>>>
>>
>>
>> --
>> thx
>> onOs
>> UPPTI - Universitas Brawijaya
>>
>
>
>
>




Reply via email to