Supplementary groups carried over from caller instead of being enumerated #1

Closed
opened 2 years ago by itycodes · 0 comments
Owner
Behavior
ity/~ doas id
uid=0(root) gid=0(root) groups=0(root)
ity/~ rt id
uid=0(root) gid=0(root) groups=0(root),1(wheel),72(vboxusers),100(users),131(docker)
References
##### Behavior ``` ity/~ doas id uid=0(root) gid=0(root) groups=0(root) ity/~ rt id uid=0(root) gid=0(root) groups=0(root),1(wheel),72(vboxusers),100(users),131(docker) ``` ##### References - [`getgrouplist(3)`](https://linux.die.net/man/3/getgrouplist) - [Proper way to get groups of a user in linux using C](https://stackoverflow.com/questions/22104383/proper-way-to-get-groups-of-a-user-in-linux-using-c) - [Group memberships and setuid/setgid processes](https://unix.stackexchange.com/questions/118786/group-memberships-and-setuid-setgid-processes)
itycodes added the bug label 2 years ago
itycodes closed this issue 11 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: itycodes/rt#1
Loading…
There is no content yet.