From dveatch, 7 Years ago, written in Plain Text.
Embed
  1. root@sidney /etc/pam.d # cat sddm
  2. #%PAM-1.0
  3.  
  4. auth            include         system-login
  5. account         include         system-login
  6. password        include         system-login
  7. session         include         system-login
  8. root@sidney /etc/pam.d # cat sddm-autologin
  9. #%PAM-1.0
  10. auth        required    pam_env.so
  11. auth        required    pam_tally.so file=/var/log/faillog onerr=succeed
  12. auth        required    pam_shells.so
  13. auth        required    pam_nologin.so
  14. auth        required    pam_permit.so
  15. -auth       optional    pam_gnome_keyring.so
  16. account     include     system-local-login
  17. password    include     system-local-login
  18. session     include     system-local-login
  19. -session    optional    pam_gnome_keyring.so auto_start
  20. root@sidney /etc/pam.d # cat sddm-greeter
  21. #%PAM-1.0
  22.  
  23. # Load environment from /etc/environment and ~/.pam_environment
  24. auth            required pam_env.so
  25.  
  26. # Always let the greeter start without authentication
  27. auth            required pam_permit.so
  28.  
  29. # No action required for account management
  30. account         required pam_permit.so
  31.  
  32. # Can't change password
  33. password        required pam_deny.so
  34.  
  35. # Setup session
  36. session         required pam_unix.so
  37. session         optional pam_systemd.so
  38.