Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-28 Thread nerdopolis
On Friday, May 28, 2021 3:13:17 AM EDT Pekka Paalanen wrote: > On Thu, 27 May 2021 17:33:35 +0200 > Lennart Poettering wrote: > > > On Sa, 22.05.21 13:50, Pekka Paalanen (ppaala...@gmail.com) wrote: > > > > > All in all, this stack would replace the usual stack where > > > /bin/login runs

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-28 Thread Pekka Paalanen
On Thu, 27 May 2021 17:33:35 +0200 Lennart Poettering wrote: > On Sa, 22.05.21 13:50, Pekka Paalanen (ppaala...@gmail.com) wrote: > > > All in all, this stack would replace the usual stack where > > /bin/login runs directly on the TTY of a VT, allowing to use a more > > featureful terminal,

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-28 Thread nerdopolis
On Thursday, May 27, 2021 11:33:35 AM EDT Lennart Poettering wrote: > On Sa, 22.05.21 13:50, Pekka Paalanen (ppaala...@gmail.com) wrote: > > > All in all, this stack would replace the usual stack where > > /bin/login runs directly on the TTY of a VT, allowing to use a more > > featureful

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-27 Thread Lennart Poettering
On Do, 27.05.21 22:25, nerdopolis (bluescreen_aven...@verizon.net) wrote: > I guess I meant to say getty, but getty ends up calling /bin/login anyway > after > resetting the terminal and reading /etc/issue anyway. Or at least I thought. > > Interesting I found some simple enough looking samples

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-27 Thread nerdopolis
On Thursday, May 27, 2021 11:23:44 AM EDT Lennart Poettering wrote: > On Fr, 21.05.21 21:29, nerdopolis (bluescreen_aven...@verizon.net) wrote: > > > On Thursday, May 20, 2021 10:53:24 AM EDT wrote: > > > On So, 16.05.21 19:41, nerdopolis (bluescreen_avenger at verizon.net) > > > wrote: > > > >

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-27 Thread Lennart Poettering
On Sa, 22.05.21 13:50, Pekka Paalanen (ppaala...@gmail.com) wrote: > All in all, this stack would replace the usual stack where > /bin/login runs directly on the TTY of a VT, allowing to use a more > featureful terminal, custom display modes, multi-output support, > maybe multiple parallel

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-27 Thread Lennart Poettering
On Fr, 21.05.21 21:29, nerdopolis (bluescreen_aven...@verizon.net) wrote: > On Thursday, May 20, 2021 10:53:24 AM EDT wrote: > > On So, 16.05.21 19:41, nerdopolis (bluescreen_avenger at verizon.net) wrote: > > > > > Hi > > > > > > I am trying to experiment around replacing the text mode TTYs

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-24 Thread Pekka Paalanen
On Sat, 22 May 2021 16:18:35 -0400 nerdopolis wrote: > On Saturday, May 22, 2021 3:14:27 PM EDT Pekka Paalanen wrote: > > On Sat, 22 May 2021 09:04:42 -0400 > > nerdopolis wrote: > > > > > On Saturday, May 22, 2021 6:50:09 AM EDT Pekka Paalanen wrote: > > > > On Fri, 21 May 2021 21:29:09

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-22 Thread nerdopolis
On Saturday, May 22, 2021 3:14:27 PM EDT Pekka Paalanen wrote: > On Sat, 22 May 2021 09:04:42 -0400 > nerdopolis wrote: > > > On Saturday, May 22, 2021 6:50:09 AM EDT Pekka Paalanen wrote: > > > On Fri, 21 May 2021 21:29:09 -0400 > > > nerdopolis wrote: > > > > > > > Sorry, I got the

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-22 Thread Pekka Paalanen
On Sat, 22 May 2021 09:04:42 -0400 nerdopolis wrote: > On Saturday, May 22, 2021 6:50:09 AM EDT Pekka Paalanen wrote: > > On Fri, 21 May 2021 21:29:09 -0400 > > nerdopolis wrote: > > > > > Sorry, I got the terminology mixed up again. I am still using TTYs to run > > > the > > > instances of

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-22 Thread nerdopolis
On Saturday, May 22, 2021 6:50:09 AM EDT Pekka Paalanen wrote: > On Fri, 21 May 2021 21:29:09 -0400 > nerdopolis wrote: > > > Sorry, I got the terminology mixed up again. I am still using TTYs to run > > the > > instances of `cage`. It's the kernel mode VT emulators I am replacing with > > the

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-22 Thread Pekka Paalanen
On Fri, 21 May 2021 21:29:09 -0400 nerdopolis wrote: > Sorry, I got the terminology mixed up again. I am still using TTYs to run the > instances of `cage`. It's the kernel mode VT emulators I am replacing with the > user mode terminal emulators (running under a fullscreen Wayland compositor)

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-21 Thread nerdopolis
On Thursday, May 20, 2021 10:53:24 AM EDT wrote: > On So, 16.05.21 19:41, nerdopolis (bluescreen_avenger at verizon.net) wrote: > > > Hi > > > > I am trying to experiment around replacing the text mode TTYs with usermode > > utilities. > > I don't follow? > I am sorry, I will try to be more

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-20 Thread Lennart Poettering
On So, 16.05.21 19:41, nerdopolis (bluescreen_aven...@verizon.net) wrote: > Hi > > I am trying to experiment around replacing the text mode TTYs with usermode > utilities. I don't follow? > While kmscon exists, the problem with it that I see is that it runs as root. > It's most likely so it can

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-20 Thread nerdopolis
On Sunday, May 16, 2021 7:41:30 PM EDT wrote: > Hi > > I am trying to experiment around replacing the text mode TTYs with usermode > utilities. > > > While kmscon exists, the problem with it that I see is that it runs as root. > It's most likely so it can run /bin/login as root, and

[systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-16 Thread nerdopolis
Hi I am trying to experiment around replacing the text mode TTYs with usermode utilities. While kmscon exists, the problem with it that I see is that it runs as root. It's most likely so it can run /bin/login as root, and /bin/login is not setuid I found that doing something like (Can't