Message326558
Versions 3.7 and below are all in feature-freeze, so this change could only apply to 3.8 and above.
I don't know if this feature is desirable or not.
If it is (sometimes?) desirable, my guess is that it would be undesirable to use SUDO_USER *unless* the effective user ID was 0. (Don't check for the name "root", that's only a convention.) In pseudocode:
names = ('LOGNAME', 'USER', 'LNAME', 'USERNAME')
if effective user ID == 0:
names = ('SUDO_USER',) + names
for name in names:
...
Also needs documentation and tests. |
|
Date |
User |
Action |
Args |
2018-09-27 12:40:20 | steven.daprano | set | recipients:
+ steven.daprano, xtreak, amoss |
2018-09-27 12:40:20 | steven.daprano | set | messageid: <1538052020.19.0.545547206417.issue34709@psf.upfronthosting.co.za> |
2018-09-27 12:40:20 | steven.daprano | link | issue34709 messages |
2018-09-27 12:40:20 | steven.daprano | create | |
|