7 ms·
What is PAM in this context?
by metadat 1mo ago
What is PAM in this context?
- klodolph 1mo agohttps://www.redhat.com/en/blog/pluggable-authentication-modules-pam https://www.redhat.com/en/blog/pluggable-authentication-modu...
- metadat 1mo agoWhat does this have to do with installing packages?
- klodolph 1mo agoI don’t have all of the details, sorry, but PAM is a bunch of .so that are dlopen'd and if you mess them up you lose access to your system pretty damn quick. I would tell people to just use the system libc but I don’t know the specific failure modes for using libc via Nix. Using system libc = building your project outside of Nix. There could be similar issues with NSS but I think more people are ready to bypass NSS altogether.
- binarin 1mo agoIt has to do with installing packages that use PAM to e.g. validate user passwords (e.g. display managers, screen lockers). So there is a system PAM with its configuration, but making a program packaged with nix respect that system PAM config is not as easy as just linking with libpam from nixpkgs.