Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:jobs:ftps_on_vsftpd [2013/01/07 16:41]
admin [Configuration]
en:jobs:ftps_on_vsftpd [2013/01/07 17:01]
admin [Introduction.]
Line 2: Line 2:
  ==== Introduction. ====  ==== Introduction. ====
  
-Once upon a time we needed to configure ftps server.\\+Once upon a time we needed to configure ftps server ​with login/pass access.\\
 We chose vsftpd like ftps server and OS - Linux Centos 5.8\\ We chose vsftpd like ftps server and OS - Linux Centos 5.8\\
  
Line 75: Line 75:
   test   test
   password   password
 +
 +Create Berkley DB
 +
 +  db_load -T -t hash -f login login.db
 +  chmod 600 login.db
 +  ​
 +Create a PAM file which uses login.db\\
 +**File:** /​etc/​pam.d/​vsftpd
 +
 +  #%PAM-1.0
 +  auth required pam_userdb.so db=/​etc/​vsftpd/​login
 +  account required pam_userdb.so db=/​etc/​vsftpd/​login
 +  session ​   required ​    ​pam_loginuid.so
   ​   ​
 Create FTP directory for test user and configure write rules. Create FTP directory for test user and configure write rules.
en/jobs/ftps_on_vsftpd.txt ยท Last modified: 2015/03/12 17:07 by admin
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki