[Mono-list] Dropping privileges in linux

Georgi Moskov g.moskov at gmail.com
Tue Dec 20 04:28:01 EST 2005

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


b) Using WindowsIdentity the way it is described here:


In either way I get a 'Segmentation fault' when I execute the assembly.

Can anyone give me some hint what I'm doing wrong, or a way to surroud
the problem?

Georgi Moskov

More information about the Mono-list mailing list