From: Mathias M. <ma...@gm...> - 2025-07-17 22:49:44
|
Hello, I'm trying to setup an SFTP server on a RedHat 9 machine where users authenticate with winbind. I have those settings enabled: SFTPPAMEngine on SFTPPAMServiceName proftpd AuthOrder mod_auth_pam.c mod_auth_unix.c So local users can also connect (mostly for tests) My current proftp PAM file looks like: #%PAM-1.0 session optional pam_keyinit.so force revoke auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed auth required pam_shells.so auth include password-auth account include password-auth session required pam_loginuid.so session include password-auth Local users can connect (I guess thanks to mod_auth_unix.c) Network users cannot. I tried replacing password-auth with system-auth but that did not help. My guess is that some changes are needed in the PAM config file, but I have no clue what to change, and with which value. Any help welcome. |