|
[SMS] - Superb Mini Server Project Support Forum |
 |
|
 |
View previous topic :: View next topic |
Author |
Message |
keopp Senior Member
Joined: 08 Nov 2008 Posts: 166 Location: Romania
|
Posted: Tue Sep 30, 2014 2:22 pm Post subject: PAM related errors in proftpd logs |
|
|
Hello,
I was receiving the following errors:
In /var/log/proftpd.log
Code: |
FTP session opened.
PAM(user_name): Cannot make/remove an entry for the specified session
Preparing to chroot to directory '/var/www/htdocs/whatever
ANON user_name: Login successful.'
FTP session closed.
|
In the meanwhile /var/log/secure shows:
Code: |
proftpd: pam_warn(ftp:session): function=[pam_sm_open_session] service=[ftp] terminal=[/dev/ftpd23815] user=[user_name] ruser=[user_name] rhost=[xxx.xxx.xxx.xxx]
proftpd: PAM prelude-client: Unable to initialize prelude client: could not open '/etc/prelude/profile/PAM/config' for reading: No such file or directory Profile '
PAM' does not exist. In order to create it, please run: prelude-admin register "PAM" "idmef:w" <manager address> --uid 0 --gid 0.
proftpd: PAM No prelude alert sent
|
I found HERE as possible cause the following:
Quote: |
When configuring proftpd, the configure script will automatically try to determine whether your operating system supports PAM. If it does, the mod_auth_pam module will automatically be compiled into your proftpd. If you explicitly do not want PAM support, you can use the --disable-auth-pam configure option to disable this automatic detection.
|
And I used this solution:
Quote: |
To disable use of PAM entirely, use:
Code: |
<IfModule mod_auth_pam.c>
AuthPAM off
</IfModule>
|
|
The errors ceased to be logged. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Sep 30, 2014 9:14 pm Post subject: |
|
|
Thanks for the suggestion, proftpd was intentionally build with pam support, but it's good to clean logs from this type of errors...
Although there other apps that have similar errors, unless you switch to PAM of course...
Thanks again
p.s. any update from the samba logs with 4.1.12?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com
Last edited by gerasimos_h on Tue Sep 30, 2014 9:21 pm; edited 1 time in total |
|
Back to top |
|
keopp Senior Member
Joined: 08 Nov 2008 Posts: 166 Location: Romania
|
Posted: Tue Sep 30, 2014 9:17 pm Post subject: |
|
|
Well ... not yet ... I was extra busy after returning... I hope maybe in this this weekend. |
|
Back to top |
|
|
|
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 vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
 |
|
|