• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Deprecated pam_stack module called from service "proftpd"

JuanCar

Regular Pleskian
Why does this message appears in my secure log?
And ... how can I fix it?

I can find any useful answers by anywhere

Thanks
 
You don't mention which OS you are using :-(

But with thanks to users aus-city and Kalimari on the Atomic discussion forum, which is where this info comes from, try the following:

Centos 5:
FILE: /etc/pam.d/proftpd
Code:
#%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 system-auth
account include system-auth
# Comment the following line if you are having PAM issues with chrooted users
#session include system-auth
session required pam_loginuid.so

Centos 6:
FILE: /etc/pam.d/proftpd

Code:
#%PAM-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth include system-auth
auth required pam_shells.so
account include system-auth
session required pam_loginuid.so
 
Oh, yes my OS is Centos 5
With this config all Pam messages dissapear!! Including messages about closing sesión, there is only the "login successful" message.
If uncomment
#session include system-auth

the message "pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory" appears, due to chrooted FTP user.

but the message about closing session does appear.

Thank you
 
Back
Top