How to change the Uid in a linux inside a c program so i can simulate various users trying to access some files?
I have tried to do it with setuid but even the functi