Open SodaqMoja opened 10 years ago
I'm sorry for the trouble.
the fix seems correct, later today I will review it to make sure PASSWORD() is used on all places.
Changes are updated.
In the future there will be a setting to configure plain text, password or md5 in the web interface for the database.
Nice!
On Wed, Feb 12, 2014 at 2:31 PM, Tosil Velkoff notifications@github.comwrote:
Changes are updated.
In the future there will be a setting to configure plain text, password or md5 in the web interface for the database.
Reply to this email directly or view it on GitHubhttps://github.com/Tvel/VsftpdWeb/issues/6#issuecomment-34868462 .
You didn't miss anything, so updating is not necessary.
Just a note for anyone coming along later, this does appear to still be an issue in master.
Can be fixed by:
Setting crypt
value in /etc/pam.d/vsftpd
to 2 instead of 3
AND
Changing MD5
on lines 70 and 159 in users_model.php
(as of current master) to PASSWORD
.
Note that I was also unable to use the pam_mysql version available in the default Ubuntu repos, and had to build the v0.8.x
branch of https://github.com/NigelCunningham/pam-MySQL from source.
If I get some free time I'll fork and pull request.
Hi, I remember some systems had problems with PASSWORD. If it works fine with the linked pam-mysql make a request and I will merge it.
In the install_readme folder we find an example pak file in which you use:
crypt=2
according to the PAM manual crypt settings are:
in the file
users_model.php
I found that you use MD5 to encrypt.
As a result in my Ubuntu 12.0 LTS it doesn't work.
When I change my pam config to crypt=3, I get:
as a result I changed back to crypt=2 but I changed these two lines in users_model.php:
Any thoughts from your end?