I'm not incredibly happy about this approach (doing it in pam_env.so would be best I think) but it does the job for now. I verified this in a minimal bionic image with and without base-files from proposed and the behaviour was as expected.
I'm not incredibly happy about this approach (doing it in pam_env.so would be best I think) but it does the job for now. I verified this in a minimal bionic image with and without base-files from proposed and the behaviour was as expected.