tpkg / client

tpkg client code
MIT License
5 stars 7 forks source link

Etc getlogin inconsistent #53

Open jaeheung90 opened 7 years ago

jaeheung90 commented 7 years ago

Etc.getlogin returns either the real username or the effective username depending on how the shell was acquired. It's undesirable inconsistency. Etc.getpwuid.name always yields the effective username, and is preferable.