Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722538 - sys-apps/util-linux-2.35.1-r2 su: cannot get groups: Operation not permitted
Summary: sys-apps/util-linux-2.35.1-r2 su: cannot get groups: Operation not permitted
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2020-05-11 20:11 UTC by fling
Modified: 2020-05-12 03:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Always suid /bin/su ebuild patch (util-linux-2.35.1-always-suid-bin-su-#722538.patch,565 bytes, patch)
2020-05-12 03:05 UTC, fling
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fling 2020-05-11 20:11:45 UTC
Running `su` as a regular user results in error.

Reproducible: Always

Steps to Reproduce:
1. emerge util-linux with "su" use flag enabled
2. run `su` as a regular user
Actual Results:  
su: cannot get groups: Operation not permitted

Expected Results:  
localhost ~ # 

getcap shows nothing for /bin/su
I used `chmod +s /bin/su` as a workaround.
Comment 1 fling 2020-05-12 03:05:13 UTC
Created attachment 638260 [details, diff]
Always suid /bin/su ebuild patch