swaps userid for posix