In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Is there a function/module to find the login name of the user under > UNIX environment?
Note that there isn't really an important concept of "login name" under *NIX systems. There is the current process UID and GID, effective UID and GID and so on, but these are just numbers, not names. The OS doesn't remember anywhere the actual name that you used to login with; this is conventionally saved in the USER environment variable, but this is purely for informational purposes. -- http://mail.python.org/mailman/listinfo/python-list