I am learning how to change the authentication configuration for SCP users. Specifically, I am learning the interaction between /etc/pam.d/sshd and /etc/login.conf. I am using FreeBSD 7.3. I am looking at PAM hoping that I can implement authentication configurations using the local user database that cannot be overridden by users. Another way of saying that is that I would like to find a way to prevent the use of ~/.profile, ~/.login, ~/.login_conf that override server-wide configurations.
Please advise. Thanks.
Please advise. Thanks.