On 12/24/05 Miguel de Icaza wrote:
I am looking for a way to drop privileges of an assembly started as
'root' to a normal user. I found two possible solutions, but didn't
succeed with either of them ...
a) Using Syscall
Syscall.setgid(1000);
Hi Robert,
I understand that the problem is related to the linux setXid()
implementation in a multi-threaded environment but I also realise that
this behaviour shows only in certain situations. So can you please
give me some more information about your linux and mono
installations:
- What
Hi Miguel,
On 12/24/05, Miguel de Icaza [EMAIL PROTECTED] wrote:
We recently discovered that Linux is pretty broken when it comes to
setuid.
The brokeness does not show up in most programs, but it *might* show up
with things like Mono.
The problem is that setuid in Linux has no kernel
Hello,
Thanks for your answer, I think that now I understand the problem. I
noticed that in mono the GC is implemented in the libgc library and as
it is written in the readme the libgc implementation can safely work
with threads and can also cope with signals by deferring them. Can
you
Hello,
I am looking for a way to drop privileges of an assembly started as
'root' to a normal user. I found two possible solutions, but didn't
succeed with either of them ...
a) Using Syscall
Syscall.setgid(1000);
Syscall.setuid(1000);
there 1000 is the uid
Hi all,
I am looking for a way to drop privileges of an assembly started as
'root' to a normal user. I found two possible solutions, but didn't
succeed with either of them ...
a) Using Syscall
Syscall.setgid(1000);
Syscall.setuid(1000);
there 1000 is the uid and gid of an existing
Georgi,
I am looking for a way to drop privileges of an assembly started as
'root' to a normal user. I found two possible solutions, but didn't
succeed with either of them ...
a) Using Syscall
Syscall.setgid(1000);
Syscall.setuid(1000);
there 1000 is the uid and gid of an existing
On 12/21/05, Robert Jordan [EMAIL PROTECTED] wrote:
Georgi,
I am looking for a way to drop privileges of an assembly started as
'root' to a normal user. I found two possible solutions, but didn't
succeed with either of them ...
a) Using Syscall
Syscall.setgid(1000);