Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have successfully setup ProFTPD to use mod_sql for authentication. But I can still login with linux user's credentials, even though I've set AuthPAM off. How can I make ProFTPD to not use PAM?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

Use both AuthPAM and AuthOrder, like this:

AuthOrder       mod_sql.c
AuthPAM         off
share|improve this answer
    
Awesome, it worked, thank you! –  Znarkus Sep 27 '10 at 15:47

Try restricting authentication to just sql

AuthOrder mod_sql.c

share|improve this answer
    
Thank you good Sir! –  Znarkus Sep 27 '10 at 15:47

try:

AuthPAMAuthoritative            off
share|improve this answer
    
Fatal: unknown configuration directive 'AuthPAMAuthoritative'. Which is weird, the docs says it should exist from 1.2.0pre3. I'm using 1.3.2 –  Znarkus Sep 27 '10 at 15:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.