Advertisement
mouseclone

/etc/pam.d/ssh

May 12th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #%PAM-1.0
  2. # Uncomment this line to deny sshd
  3. #auth      requisite    pam_deny.so
  4. auth       required     pam_sepermit.so
  5. auth       include      password-auth
  6. account    required     pam_nologin.so
  7. account    include      password-auth
  8. password   include      password-auth
  9. # pam_selinux.so close should be the first session rule
  10. session    required     pam_selinux.so close
  11. session    required     pam_loginuid.so
  12. # pam_selinux.so open should only be followed by sessions to be executed in the user context
  13. session    required     pam_selinux.so open env_params
  14. session    optional     pam_keyinit.so force revoke
  15. session    include      password-auth
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement