bugfixing related to setuid/getuid/getpass