Problem with C program for Signup

2000-08-23 Thread harshapr
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 RealN

Re: Problem with C program for Signup

2000-08-23 Thread Timothy L. Mayo
The C program from the web page is probably running as the user used to run your web server. This is most likely NOT root. You are having permission problems when you try to run vadduse. On Wed, 23 Aug 2000 [EMAIL PROTECTED] wrote: > Hi, > > I have written a C program to create a s new user o

Re: Problem with C program for Signup

2000-08-23 Thread andy
Harsha- Like previously mentioned, it's a problem with permissions. Your web server is probably running as the user "nobody" and you need root permissions to add a user. The quickest and (somewhat) safe method to do this is to get the package called "sudo" and give the user "nobody" rights to r

Re: Problem with C program for Signup

2000-08-23 Thread Leonardo Magallon
Another solution is to write the command to vadduser in a file with the information from the user and then put a cron command to add the user , blank the file . This cron could run every minute. This a dirty fix. One problem I've been having is that my signup script can't know if an alias exists

Re: Problem with C program for Signup

2000-08-23 Thread Sean P. Scanlon
You could also use the vpopmail perl module http://search.cpan.org/search?mode=module&query=vpopmail This won't fix your permissions problem, but thought I should mention it anyways [EMAIL PROTECTED] writes: > Harsha- > > Like previously mentioned, it's a problem with permissions. Your

Re: Problem with C program for Signup

2000-08-23 Thread up
On Wed, 23 Aug 2000, Leonardo Magallon wrote: > Another solution is to write the command to vadduser in a file with the > information from the user and then put a cron command to add the user , blank > the file . This cron could run every minute. > This a dirty fix. > One problem I've been havin

Re: Problem with C program for Signup

2000-08-23 Thread Jay Moore
[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, pas