Update apply.sh

Updated PAM configurations for system-auth-local and password-auth-local