Re: s6 xinit replacement?

2022-05-27 Thread Dallin Dahl
Samuel Holland wrote: > It also works if X has permission to open the tty device read/write. Opening a > tty as a session leader without a controlling terminal will set the > controlling > terminal to that tty. Relevant kernel code: > >

Unprivileged Shutdown?

2022-05-27 Thread Dallin Dahl
I have been using simple privilege escalation to poweroff the machine, but looking through the source code for s6-linux-init-shutdownd and friends, it appears the only constraint on interacting with the daemon is the permissions on run-image/service/s6-linux-init-shutdownd/fifo. The default