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
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
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
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
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
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
[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