Quick and dirty code to switch to a different uid/gid