On Sat, 2 Oct 1999, Robert Schelander wrote:
> Do you know where is the right place to insert additional code when
> axipd does automatic user creation?
>
> The main reason I want to do this, is to give each user a www directory
> in his homedirectory and add it to the apache configuration.
> Maybe you know a more comfortable way without adding new code
> and recompile.
I don't really understand this...
> What is the right c-syntax to execute a script? I know C, but I've never
> used it on a Linux machine. (up to now only on Windows based systems)
That's easy. Read the fork(2) and exec(3) manual pages. A script is of
course just like any other program. A simple example of how to fork, exec
a program and wait for it to finish you can find in the LinuxNode sources,
norm_extcmd() in extcmd.c.
--
Tomi Manninen Internet: [EMAIL PROTECTED]
OH2BNS AX.25: [EMAIL PROTECTED]
KP20ME Amprnet: [EMAIL PROTECTED]