I need a specific PAM configuration for my SFTP service, so I copied the
sshd executable and renamed it
Then I set up a specific configuration in
/etc/pam.d/sftpd to authenticate the users against LDAP, while the regular users are authenticated as usual.
Everything is fine, but the problem is, the "new"
sftpd daemon, configured and launched as a
systemd service on RedHat EL 7.4, don't trace actions (opendir, chdir, and so on).
The configuration is the same as the regular
sshd, in particular this line:
Subsystem sftp internal-sftp -l VERBOSE
But nothing comes in
Is there some curious side effect I should be aware of, if the
sshd daemon runs under a different name?
Thanks in advance for any help