I'll come back to it and do a more comprehensive audit. I haven't released any zerodays I've found, ever, but recently I was thinking about making a blog. This might be some good material.
My copy of NixOS had no password on the root user by default, which is not ideal but I assume most deployments aren't like that (right?). I was able to become other users on GuixSD using the SUID's the distro ships with, but not root. Not yet. The surface is much larger on both of those distros than the mainstream OS's. I may be able to pull of a root LPE, but I'd need to look for a full day at least.
By no password, do you mean:
- it is impossible to log in as root with a password (a good thing, I'd think, as people should be using sudo), or
- it's possible to log in as root without any authentication (a bad thing, obviously)?
That isn't the default behavior for NixOS. From the docs[1]:
> If set to null (default) this user will not be able to log in using a password (i.e. via login command).
The installer also asked for a root password when I installed NixOS years ago and it still does[2].
[1]: https://search.nixos.org/options?channel=20.09&show=users.ex... [2]: https://github.com/NixOS/nixpkgs/blob/a3a531071598cad0c60485...