Open jaeheung90 opened 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.
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.