]> granicus.if.org Git - sudo/commit
When creating a passwd struct from a uid that is not in the passwd
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 16 Apr 2015 19:19:04 +0000 (13:19 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 16 Apr 2015 19:19:04 +0000 (13:19 -0600)
commite98778b2a2d2513cbf7c4549598a70672bb83232
tree039d663d1c0143aca0e8c78dbafcfd8b2a512fff
parent3de14196c85d3fc6a3b939efb09870add5792e06
When creating a passwd struct from a uid that is not in the passwd
database, set pw_gid to the user's gid instead of whatever the user
specified via the -g flag (or 0 if no -g).
plugins/sudoers/sudoers.c
plugins/sudoers/testsudoers.c