Advertisement
rTfact

git-diff

Nov 8th, 2016
756
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. @@ -1124,6 +1131,7 @@ maybe chmod 0644 'pam.d/runuser-l'
  2. maybe chmod 0644 'pam.d/setup'
  3. maybe chmod 0644 'pam.d/smartcard-auth-ac'
  4. maybe chmod 0644 'pam.d/sshd'
  5. +maybe chmod 0644 'pam.d/sssd-shadowutils'
  6. maybe chmod 0644 'pam.d/su'
  7. maybe chmod 0644 'pam.d/su-l'
  8. maybe chmod 0644 'pam.d/sudo'
  9.  
  10. maybe chmod 0700 'sssd'
  11. +maybe chmod 0711 'sssd/conf.d'
  12. maybe chmod 0600 'sssd/sssd.conf'
  13.  
  14. diff --git a/pam.d/sssd-shadowutils b/pam.d/sssd-shadowutils
  15. new file mode 100644
  16. index 0000000..626c7d0
  17. --- /dev/null
  18. +++ b/pam.d/sssd-shadowutils
  19. @@ -0,0 +1,6 @@
  20. +#%PAM-1.0
  21. +auth [success=done ignore=ignore default=die] pam_unix.so nullok try_first_pass
  22. +auth required pam_deny.so
  23. +
  24. +account required pam_unix.so
  25. +account required pam_permit.so
  26.  
  27. diff --git a/pam.d/systemd-user b/pam.d/systemd-user
  28. index 0ebc415..2725df9 100644
  29. --- a/pam.d/systemd-user
  30. +++ b/pam.d/systemd-user
  31. @@ -6,4 +6,5 @@ account include system-auth
  32.  
  33. session required pam_selinux.so close
  34. session required pam_selinux.so nottys open
  35. +session required pam_loginuid.so
  36. session include system-auth
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement