Here we must replace getpwuid by getpwuid_r, but as I do not know how for