store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Tue Jun 18, 2013 8:21 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 3 posts ] 
Author Message
 Post subject: proftpd error messages in /var/log/secure
Unread postPosted: Mon May 21, 2012 11:21 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
I see the following proftpd-related error messages in /var/log/secure on CentOS and I was wondering if they are expected or if some changes might be required to get rid of these:

Quote:
proftpd: Deprecated pam_stack module called from service "proftpd"


I guess this is because /etc/pam.d/proftpd (part of the psa-proftpd RPM package in Atomic) contains references to pam_stack.so. I only see this on CentOS 5, the psa-proftpd package for CentOS 6 contains a different /etc/pam.d/proftpd which does not contain references to pam_stack.so.

Quote:
proftpd: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory


/etc/security/pam_env.conf (part of the pam RPM package from CentOS) actually does exist on the filesystem.

Quote:
proftpd: pam_unix(proftpd:session): session opened for user xxxxxxxx by (uid=0)
proftpd[19754]: xxx.xxx.xxx.xxx (127.0.0.1[127.0.0.1]) - USER xxxxxxxx: Login successful.
proftpd: pam_succeed_if(proftpd:session): error retrieving information about user 0


Logging in works fine, but after each successful login an error about retrieving information about user 0 is logged.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: proftpd error messages in /var/log/secure
Unread postPosted: Mon May 21, 2012 12:34 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7454
Location: earth
Has to do with how proftpd "chroots" itself. Theres no way to "fix" that, since you'd have to duplicate the files across every users directory.


Top
 Profile  
 
 Post subject: Re: proftpd error messages in /var/log/secure
Unread postPosted: Mon May 21, 2012 6:18 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
Ok, so all of these messages are harmless then?

Shouldn't /etc/pam.d/proftpd on EL5 be pam_stack-less, just like on EL6, to get rid of that deprecation message?

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 3 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group