Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Improvement for running sway without elogind #5260

Closed
sdsddsd1 opened this issue Apr 26, 2020 · 2 comments
Closed

Feature request: Improvement for running sway without elogind #5260

sdsddsd1 opened this issue Apr 26, 2020 · 2 comments

Comments

@sdsddsd1
Copy link

Hola,
first of all I have no deeper understanding of programming, so my following ideas arise from my obersvation.
I would like to improve the situation of running sway on minimal setups without the need or possibility
of elogind.
My idea is to run sway with capability SYS_CAP=eip and then let drop these at the moment as they are unneded like the way the suid method works.
I would like to hear your thoughts and if this would be an improvement overall.
Thanks.

@ascent12
Copy link
Member

Wait, we didn't do that already?

Although I've seriously considered removing the CAP_SYS_ADMIN support because it's honestly a false sense of security, and is more fragile that just using setuid. CAP_SYS_ADMIN is a ridiculous capability that allows you to do effectively as much as root, and it also then requires your user to be in the input group, which means any program you run can keylog everything.

@emersion
Copy link
Member

Sway has removed libcap support. wlroots still has libcap support for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants