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
en:jobs:ftps_on_vsftpd [2013/01/07 16:41]
admin [Configuration]
en:jobs:ftps_on_vsftpd [2015/03/12 17:07]
admin [Client connection example]
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.
Line 96: Line 109:
  ==== Client connection example ====  ==== Client connection example ====
  
-For example use winSCP client.+For example use winSCP client. ​(Also you can use filezilla and etc)
  
 Configuration example: ​ Configuration example: ​
Line 103: Line 116:
  
 Push login button and enjoy. Push login button and enjoy.
 +
 + ==== About author ​ ====
 +[[https://​www.linkedin.com/​pub/​alexey-vyrodov/​59/​976/​16b|Profile]] of the author
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