Giampaolo Rodola' <g.rod...@gmail.com> added the comment: Update: I think also os.getlogin() doc is wrong. This is what it states (2.7 doc):
> Return the name of the user logged in on the controlling terminal of > the process. For most purposes, it is more useful to use the > environment variable LOGNAME to find out who the user is, or > pwd.getpwuid(os.getuid())[0] to get the login name of the currently > effective user id. Since os.getuid() refers to _real_ uid the last sentence should be changed as such: - ... to get the login name of the currently effective user id. + ... to get the login name of the currently real user id. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10503> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com