Resulting from a security audit of the pam_slurm_adopt module for inclusion in SUSE distributions here are a couple of patches that either fix small bugs or harden the security of the module. Please see the individual patches for detailed information.
Created attachment 8544 [details] Limit pam_slurm_adopt to the sshd PAM application
Created attachment 8545 [details] avoid copying undefined stack data
Created attachment 8546 [details] check against uid not username
Thanks Matthias, these will be in 19.05 commits 4f954bd88d758 70c1e7cd4264f 17c63947303f5