On 18.10.2007, at 23:41, Vasiljevic Zoran wrote:
>
> The nsmain.c contains some uid/gid fiddling code
> that is indef WIN32. If you du something like
> ns_pid/gid please do the same (ifndef WIN32).
>
Similar code is used in nsproxy/nsproxylib.c
This all should really be ifndef WIN32 ...
--
On 18.10.2007, at 23:20, Vlad Seryakov wrote:
> I do it in some modules as well, but would it make sense to provide
> this
> as core Tcl command so no need to copy code from module to module
The nsmain.c contains some uid/gid fiddling code
that is indef WIN32. If you du something like
ns_pid/g
I do it in some modules as well, but would it make sense to provide this
as core Tcl command so no need to copy code from module to module
Vasiljevic Zoran wrote:
> On 18.10.2007, at 22:53, Vlad Seryakov wrote:
>
>> Will it be useful to have internal Tcl command for changing real
>> uid/gid?
>
On 18.10.2007, at 22:53, Vlad Seryakov wrote:
> Will it be useful to have internal Tcl command for changing real
> uid/gid?
>
> for example i want to start as root, prepare data, load modules and
> then
> in Tcl switch to non-privileged user.
Yes. We already do that in a module.
--
Question,
Will it be useful to have internal Tcl command for changing real uid/gid?
for example i want to start as root, prepare data, load modules and then
in Tcl switch to non-privileged user.
-
This SF.net email is spons