|
|
Subscribe / Log in / New account

Fedora and pkexec

Fedora and pkexec

Posted Feb 16, 2022 19:11 UTC (Wed) by flussence (guest, #85566)
In reply to: Fedora and pkexec by mjg59
Parent article: Fedora and pkexec

> How do traditional Unix permissions encode things like "Is this user currently logged in at a physical console"?

I really wish the answer was as simple as `fuser -u /dev/tty* | grep $USER`. It isn't, because X, but it could've been. Doesn't even have to be a device file.


to post comments

Fedora and pkexec

Posted Feb 17, 2022 2:12 UTC (Thu) by mjg59 (subscriber, #23239) [Link]

That's still not something you can encode as a permission - you'd have to look it up after determining which user has connected to the socket.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds