DescriptionDon't use $USER for Local Login check
Update the PAM Local Login check to use the username from getuid()/getpwuid(). The result of this is much harder for unprivileged users to change than the $USER environment variable.
BUG=224958
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191548
Patch Set 1 #
Total comments: 7
Patch Set 2 : address comments, remove CanGetUsername() #
Total comments: 2
Patch Set 3 : fix comment #
Messages
Total messages: 13 (0 generated)
|