Deprecated pam_stack module

10 posts / 0 new
Last post
#1 Wed, 07/01/2009 - 09:23
marciano

Deprecated pam_stack module

Hi! From /var/log/secure I found

Jul 1 14:09:23 hostname proftpd: Deprecated pam_stack module called from service "proftpd"

What can I do here.

My first installation was from install.sh

Thank you

Wed, 07/01/2009 - 11:25
ronald
ronald's picture

yeah i've seen this line in my logs too.

How I see this. Some pam module isn't actively being developed anymore and not supported by developers. It doesn't mean the module isn't working.

There might be something else to replace it, but I wouldn't know about that.

Wed, 07/01/2009 - 13:20
andreychek

So, just to clarify -- are you actually having FTP login trouble?

Sometimes warnings will show up, even while things continue to work fine.

But, if you're having troubles, what problems are you seeing exactly? And what distro/version are you using?

-Eric

Wed, 07/01/2009 - 13:56
marciano

I only tested once the ftp access in this new server and it was okay. I just was watching /var/log/secure for other reason and I found that. Thanks. M

Wed, 07/01/2009 - 14:06
ronald
ronald's picture

i actually looked into it a bit deeper and this seems to be around for a longer time. it also seems to be a bug in PAM which can be (partially) solved. that is get rid of the message I have found:

These lines in /etc/pam.d/proftpd need to change:

auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth

To:
auth include system-auth
account include system-auth
session include system-auth

I havent done this myself though

Wed, 07/01/2009 - 15:23
Joe
Joe's picture

This is a bit of a regression in my proftpd package (actually the EPEL package, as I switched to the EPEL version a while back). I'll roll a new package for CentOS/RHEL 5 soon that corrects this message.

--

Check out the forum guidelines!

Wed, 06/13/2012 - 20:41
kiteplans

Hi Joe,

I have just seen the same error appear again in my logs.

Operating system CentOS Linux 5.8 Virtualmin version 3.92.gpl GPL

Login seems to work fine, just see these errors in my logs.

Let me know if there is anything I can do to help

Peace

I’m a “Geek” serving as a Linux System admin, a website designer and maintainer and general know how for all things TECH. I am a fan of CentOS, Virtualmin, Joomla, and anything that uses Electricity. See more of my posts at http://www.dieskim.me

Thu, 06/14/2012 - 12:51
andreychek

Howdy,

What output do you get when running this command:

rpm -qa | grep proftp

Thanks!

Thu, 06/14/2012 - 19:44
kiteplans

Hi, here is the output.

rpm -qa | grep proftp

proftpd-1.3.4a-1.el5.rf

I’m a “Geek” serving as a Linux System admin, a website designer and maintainer and general know how for all things TECH. I am a fan of CentOS, Virtualmin, Joomla, and anything that uses Electricity. See more of my posts at http://www.dieskim.me

Thu, 06/14/2012 - 22:55
andreychek

Ah, it looks like you're using the ProFTP package from the RPMForge repository.

My recommendation would be to stick with packages from the standard repositories, unless there's a specific package from that repo that you need.

There may be something within the RPMForge ProFTPd package that's causing that notice that you're seeing in the logs.

-Eric

Topic locked