This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mwh
Recipients
Date 2002-07-25.14:53:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=6656

the os module isn't about providing polite wrappers for
sys/library calls. it's about thin wrappers so you can read
the system manpages to find out why you don't want to use
them <wink>.

print pwd.getpwuid(os.geteuid())[0] is the best answer I
know of.
History
Date User Action Args
2007-08-23 14:04:21adminlinkissue584566 messages
2007-08-23 14:04:21admincreate