SURFscz/pam-weblogin

Move config to /etc/security/pam-weblogin.conf

Closed this issue · 2 comments

Consider moving the config to /etc/security/pam-weblogin.conf
Currently in /etc/pam-weblogin.conf.

pam-weblogin should search both location, prefer the security one, and install there by defualt

I think more important than location are the file permission flags. At this moment they are :

gitpod /workspace/pam-weblogin (fix-conf-location) $ ls -l /etc/security/pam-weblogin.conf 
-rw-r--r-- 1 root root 115 Jun 14 08:52 /etc/security/pam-weblogin.conf

I suggest to have this changed to 600

CORRECTION: Above is true as far as the makefile creates this file via command sudo make install
During execution the file permissions are validated and must be 600, otherwise the file is ingnored

Conclusion: Fix is accepted