Add new comment
Want to support HowtoForge? Become a subscriber!
|
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
Reply |



Recent comments
17 hours 32 min ago
22 hours 21 min ago
1 day 3 hours ago
1 day 5 hours ago
1 day 5 hours ago
1 day 5 hours ago
1 day 10 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 20 hours ago