On Wed, 9 Aug 2006, Johannes Nohl wrote:
> > Baseunix.
>
> Great! I found it. Is there a Windows-way, too? Something like
> basewindows? Thanks...
As far as I know, there is no way to change the user-id of a running
process. It is possible to start a process with a different set of
credential
Baseunix.
Great! I found it. Is there a Windows-way, too? Something like
basewindows? Thanks...
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Tue, 8 Aug 2006, Johannes Nohl wrote:
> Hello!
>
> > In that case you can use the fpSetUID call.
> > This call can be used only once.
>
> Thanks for your help. But I never saw this function. Can you tell me
> which unit it is in?
Baseunix.
See the documentation:
http://www.freepascal.org
Hello!
In that case you can use the fpSetUID call.
This call can be used only once.
Thanks for your help. But I never saw this function. Can you tell me
which unit it is in?
Johannes
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http:/
On Mon, 7 Aug 2006, Johannes Nohl wrote:
Does anyone know how to write a program which can change its user
privileges on runtime? Like the suexec wrapper of apache?
Thanks for help...
This is not possible unless it runs as root.
(which can be forced by setting the executable file setuid ro