Add new comment

Submitted by andryk (registered user) on Sat, 2008-02-02 15:21.
To encrypt users password use ENCRYPT mysql fucntion:

INSERT INTO `ftpuser` (`id`, `userid`, `passwd`, `uid`, `gid`, `homedir`, `shell`, `count`, `accessed`, `modified`) VALUES (1, 'exampleuser',
ENCRYPT('secret'), 2001, 2001, '/home/www.example.com', '/sbin/nologin', 0, '', '');

in proftpd.conf we allready have line that decrypt our passwords from mysql db:
SQLAuthTypes Plaintext Crypt



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.