I added the lines below to my proftpd.conf, and tried again -- this time I got another error message:

[oscar:~] irray% sudo proftpd -d9 -n
 - parsing '/sw/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - FS: using system read()
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - <Directory /*>: adding section for resolved path '/*'
 - ROOT PRIVS at mod_log.c:455
 - RELINQUISH PRIVS at mod_log.c:477
 - FS: using system read()
 - <Directory /Users>: adding section for resolved path '/Users'
 - FS: using system stat()
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - <Directory ~irray>: adding section for resolved path '/Users/irray'
 - FS: using system read()
 - FS: using system close()
oscar.local -
oscar.local - Config for Oscar's simple FTP server:

<snipped -- parsing proftpd.conf>

oscar.local - dispatching auth request "getgroups" to module mod_auth_file
oscar.local - dispatching auth request "getgroups" to module mod_auth_unix
oscar.local - SETUP PRIVS at main.c:2618
oscar.local - ROOT PRIVS at main.c:1909
oscar.local - RELINQUISH PRIVS at main.c:1915
oscar.local - ROOT PRIVS at main.c:2252
oscar.local - RELINQUISH PRIVS at main.c:2276
oscar.local - ROOT PRIVS at inet.c:506
oscar.local - RELINQUISH PRIVS at inet.c:545
oscar.local - Failed binding to 0.0.0.0, port 21: Address already in use
oscar.local - Check the ServerType directive to ensure you are configured correctly.


So, I tried to create a file called ftp in /etc/pam.d, thinking this was what the

AuthPAMConfig ftp

line called for (just guessing basically). This file was a copy of /etc/pam.d/sshd, since I figured ftp should have the same authentication as ssh -- where normal users like myself can log in. Anyway, I still have no idea how to create a proper pam configuration file, so this was my best shot. But of course it didn't change a thing.

I'm starting to feel really stupid here... Is there any good source of info on this on the 'net? (Of course I already tried a little Googling, but this didn't lead me anywhere besides lots of information on PAM's features.) So if anybody's up for some more hand-holding, It'd be more than welcome...

On tisdag, feb 25, 2003, at 14:47 Europe/Stockholm, Justin Hallett wrote:

well as in any other update, the source changed, thus the program changed.

anyhow to use pam auth you need to make hte pam.d file and add these

AuthPAM                         on
AuthPAMConfig                   ftp
AuthPAMAuthoritative            on
PersistentPasswd                off


[EMAIL PROTECTED] writes:
In any case, this doesn't explain why my updating broke proftpd -- it
worked flawlessly before I updated passwd and proftpd.

---
Oscar Erlandsson [erlandsson at mac dot com]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to