aha! proftpd.passwd not updated

cleavoy

New member
Joined
May 5, 2006
Messages
4
So was in the process of migrating some 500 websites to a new directadmin server. Luckily none of them use cgi/php so my jobs is fairly easy.

My current issue is proftpd.passwd. I copied the password hashes from the old server to preserve the passwords on the new server. Using freebsd's chpass -p <encrypt> user I set all the passwords on the system.

The problem is proftpd keeps a seperate copy of system accounts passwords? I'm not sure I like that. Why doesn't proftpd use the system's pasword facilities for system accounts and proftpd.passwd for virtual accounts? (ie just like pop3 and imap does)

Rather than deal with the support calls later, would it be possible to force have this functionality under Freebsd 6.1? For right now, I'll fix the passwords in proftpd.passwd.
 
Hello,

If you turn on PAM with proftpd, then you won't need to use the /etc/proftpd.passwd file for the system accounts, but DA still requires this file for several reasons.

1) There are more than just system accounts. Ftp accounts like [email protected] can't be stored in the /etc/passwd file.

2) When a user "owns" their IP, they'll use yet another different password file, eg:
/usr/local/directadmin/data/users/username/ftp.passwd
This is specified in the /etc/proftpd.vhosts.conf file.

For cleanlyness, staying with one login file is less of a headache, and keeps things consistent and interchangeable on any OS.

John
 
Back
Top