3 ms·
How does it do that?
by direwolf20 8mo ago
How does it do that?
- charcircuit 8mo agoThere are many ways from passkeys to SAML. Though for complex methods we may want a dedicated services outside the kernel.
- direwolf20 8mo agoHow does that service get launched with the privilege to switch to any user?
- charcircuit 8mo agoThe kernel can start a process with any user it wants. The user doesn't have to switch during the process's life.
- acdha 8mo agoYes, but that has to happen somewhere. OpenSSH already uses privilege separation to limit the scope of the code which requests the kernel set the user for the process for the session. Can you say where precisely you think that should happen instead? If you’re saying it should delegate to login(1) it would be useful to discuss in detail what you see OpenSSH doing which is weaker because otherwise that seems like it’s just recreating chances for this CVE without meaningfully improving a hardened implementation.