Add new comment

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Submitted by Alberto (not registered) on Tue, 2009-04-21 06:10.

sorry for my bad english.

i had the same problem, but a could fix it.

in /etc/pam.d/vsftpd, the encryption maybe be wrong, I use the crypt=0 and start to work.

 again, sorry for my bad english.

 

Ó en español.

En el archivo /etc/pam.d/vsftpd, en vez de usar crypt=2, usa crypt=0, al parecer existe un error con la encriptacion de las contraseñas.

De igual forma, o en mi caso, tampoco utilize la funcion de "password" en la instruccion:

INSERT INTO accounts (username, pass) VALUES('testuser', PASSWORD('secret'));

quedando:

INSERT INTO accounts (username, pass) VALUES('testuser', 'secret'); 

Talvez por que se realiza una doble encriptacion: cuando se recive la contraseña y PAM la encripta y verifica con mysql, la cual  ya se encuentra encriptada... solo una idea.

espero ayude a alguien, disculpen si no lo posteo en su totalidad en ingles, pero la verdad soy un poco malo para ello.

Excelente tutorial y saludos desde Monterrey, Mexico.

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.