Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X accepting signals from user even though it runs as root?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mi_unixbird
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2015
Posts: 102

PostPosted: Sat Jan 02, 2016 2:06 am    Post subject: X accepting signals from user even though it runs as root? Reply with quote

So I run X as root. "ps -f -p $(pidof X)" confirmed this for me. But I can weirdly enough send signals to X as nonroot, I can send it a TERM in which case it will gracefully exit but I cannot send this if I am not the user currently running the X session.

This would not be a problem per se if sending it a KILL signal will not just lock up the entire system, as in, the TTY's become unresponsive and even though I can ssh into it from my phone, I can't even reboot from SSH any more that's how locked up it is then.

Other systems I've seen do not allow you to send signals to X running as root as a non user, how to achieve this, it should give a permission denied.
_________________
execctl --path exec filectl --current-directory list
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum