proftpd configs

yurix

Verified User
Joined
Mar 10, 2008
Messages
16
Location
Ukraine
Good day!

I have a slight problem, which I cannot resolve by myself.

I was updating my distribution (Debian Linux) and it substituted proftpd with whatever was in the repository. DA couldn't control proftpd anymore, of course.

I reisntalled proftpd from custombuild folder, which was successfull, but proftpd didn't want to read my proftpd.passwd file, eventhough I checked that proftpd.conf had AuthUserFile directive in it.

I have tried
./build update
./build clean
./build proftpd

This worked for reinstalling proftpd, but still, ftp wouldn't recognize accounts in proftpd.passwd.

I can login under admin account no prob, but none other, created with DA (error is incorrect login for the most part, sometimes timeout on requesting folder list).

What could I do? Please help! Thank you very much!

Yuri
 
Hey,

I'll ask... Did you restart proftp after the re-install?

David
 
Have you tried running this script:
Code:
# /usr/local/directadmin/scripts/proftpd.sh
Jeff
 
Good day!

I've run that script, here's the output

Code:
/usr/local/directadmin/scripts/proftpd.sh
cat: ./setup.txt: No such file or directory
mkdir: cannot create directory `/var/log/proftpd': File exists
(Reading database ... 69841 files and directories currently installed.)
Preparing to replace proftpd 1.3.0 (using proftpd-1.3.1.deb) ...
Unpacking replacement proftpd ...
Setting up proftpd (1.3.0) ...
 System startup links for /etc/init.d/proftpd already exist.

I would still get "Incorrect Login" trying to login account other than "admin". I noticed that other user are not only in proftd.passwd, but also in /etc/shadow Maybe the problem is not in proftpd but somewhere on system level?

Thank you!
 
Did you find a soltion to your, and I think my problem by now?

Regards,

Mike
 
Just soilved

put

RequireValidShell no

in last line of

/etc/proftpd.conf

but now seems that users can go to / path and see all the directory of the box...

any idea?
 
ok now seems to work, with debian i just used

apt-get update
apt-get upgrade

and apt propose me to update proftpd, after updating all working correctly...
 
Yes, it does. Your old configuration file is: /etc/proftpd.conf.old.
 
Back
Top