# Example PAM service file for stable-diffusion-rest # Place this file in /etc/pam.d/stable-diffusion-rest # Use the system's standard authentication method auth sufficient pam_unix.so try_first_pass nullok_secure auth required pam_deny.so # Account management account sufficient pam_unix.so account required pam_deny.so # Password management (if needed) password sufficient pam_unix.so nullok_use_authtok nullok_secure md5 shadow password required pam_deny.so # Session management session required pam_limits.so session required pam_unix.so