[EMAIL PROTECTED] wrote:

> Hi,
>
> I have written a C program to create a s new user on a vpopmail domain,
> which is run from the command line. This works fine.
>
> Now I need to let a user signup himself by cliacking a link "Sign me up
> now". The sign up page has four text fields - UserID, password1, password2
> and the user's RealName. Up on submit the values are posted to a C progam
> (almost similar to the above mentioned) which takes the parameters
> correctly.
>
> But strangely in this case, the function vadduser fails to add the user to
> the specified domain. It should have worked. I could'nt figure out why its
> failing.
>
> The parameters are...
> vadduser(userid, domain, password, realname);
>
> Can any body tell me why??
>
> sincerely,
> Harsha

When you run your c program from command line are running as root?  What user
is your web server running as?  If it is running as NOBODY then, it will not
have permission to execute vadduser.

Jay

Reply via email to