import getpass for Windows
don't crash printing a warning on unknown uid/gid