3 ms·
Answering my own question. Found the bug report: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1900255 https://bugs.launchpad.net/ubuntu/+sourc
by vlovich123 6y ago
Answering my own question. Found the bug report: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1900255 https://bugs.launchpad.net/ubuntu/+source/accountsservice/+b...
Accountservice is actually changing its user ID rather than dropping capabilities which is where my confusion came from. It looks like there’s magic in the kernel to allow a process to switch back to the original user & some nuance about some ways of switching allowing you to send signals while other ways make your process act like a semi-hybrid of two user accounts (I.e. it technically looks owned by your user but you still don’t have permissions to do things with it). Security issues always lie in these kind of weird nuances.