{"id":199,"date":"2021-07-10T03:53:58","date_gmt":"2021-07-10T00:53:58","guid":{"rendered":"https:\/\/biksant.pl.ua\/?p=199"},"modified":"2021-07-10T05:03:01","modified_gmt":"2021-07-10T02:03:01","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d0%b8-%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-pure-ftpd-%d0%b2-ubuntu","status":"publish","type":"post","link":"https:\/\/biksant.pl.ua\/?p=199","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Pure-FTPd \u0432 Ubuntu"},"content":{"rendered":"\r\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 pure-ftpd \u043d\u0430\u0431\u0440\u0430\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>apt-get install pure-ftpd<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p><br \/>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0433\u0440\u0443\u043f\u043f\u0443 \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0448 FTP-\u0441\u0435\u0440\u0432\u0435\u0440:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>groupadd ftpgroup<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\">\r\n\r\n<\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>useradd -g ftpgroup -d \/dev\/null -s \/etc ftpuser<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p><br \/>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>mkdir \/home\/ftpuser\/<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\">\r\n\r\n<\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>chown -R ftpuser:ftpgroup \/home\/ftpuser<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p><br \/>\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>ln -s \/etc\/pure-ftpd\/conf\/PureDB \/etc\/pure-ftpd\/auth\/50pure<\/strong><\/span><br \/><br \/>\u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c test:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>mkdir \/home\/ftp<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\">\r\n\r\n<\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>mkdir \/home\/ftp\/test<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\">\r\n\r\n<\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>chown -R ftpuser:ftpgroup \/home\/ftp\/test<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\">\r\n\r\n<\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>pure-pw useradd test -u ftpuser -d \/home\/ftp\/test<\/strong><\/span><br \/><br \/>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0433 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 -D \/home\/ftpuser\/test.<\/p>\r\n\r\n\r\n\r\n<p><br \/><br \/>\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043d\u0430\u0431\u0440\u0430\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>man pure-pw<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p>\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>pure-pw show \u0438\u043c\u044f<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u043c\u0435\u043d\u044b \u043f\u0430\u0440\u043e\u043b\u044f:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>pure-pw passwd \u0438\u043c\u044f -m<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>pure-pw usermod \u0438\u043c\u044f \u043e\u043f\u0446\u0438\u0438 -m<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p>\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>pure-pw userdel \u0438\u043c\u044f -m<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p>\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>pure-pw list<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p>\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>pure-ftpwho<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p>\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043d\u0438\u0436\u0435 \u043b\u0438\u0431\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c pure-ftpd:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>pure-pw mkdb<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\">\r\n\r\n<\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>service pure-ftpd restart<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p>\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u0435\u0445 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>killall pure-ftpd<\/strong><\/span><\/p>\r\n\r\n\r\n\r\n<p>\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\/\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a:<\/p>\r\n\r\n\r\n\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>service pure-ftpd stop<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\">\r\n\r\n<\/span><\/p>\r\n<p><span style=\"font-family: 'andale mono', monospace;\"><strong>service pure-ftpd start<\/strong><\/span><br \/><br \/><\/p>\r\n\r\n\r\n\r\n<p>\u0424\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \/etc\/pure-ftpd\/conf\/, \u043f\u0440\u0438\u0447\u0435\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435, \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u043c.<\/p>\r\n\r\n\r\n\r\n<p>\u0427\u0442\u043e\u0431\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0440\u0442 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b Bind \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \/etc\/pure-ftpd\/conf\/ \u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043d\u0435\u043c \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430 \u0438\u043b\u0438 IP:\u041f\u041e\u0420\u0422 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0434\u043e\u043b\u0436\u0435\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c Pure-FTPd.<br \/>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0434\u0438\u0441\u043a\u0430, \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b MaxDiskUsage \u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043d\u0435\u043c \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 70, \u0447\u0442\u043e\u0431\u044b \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0435\u0441\u043b\u0438 \u0434\u0438\u0441\u043a \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d \u0431\u043e\u043b\u0435\u0435 70%.<\/p>\r\n\r\n<div id=\"gtx-trans\" style=\"position: absolute; left: -32px; top: 1551px;\">\r\n<div class=\"gtx-trans-icon\">\u00a0<\/div>\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 pure-ftpd \u043d\u0430\u0431\u0440\u0430\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443: apt-get install pure-ftpd \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0433\u0440\u0443\u043f\u043f\u0443 \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0448 FTP-\u0441\u0435\u0440\u0432\u0435\u0440: groupadd ftpgroup useradd -g ftpgroup -d \/dev\/null -s \/etc ftpuser \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439: mkdir \/home\/ftpuser\/ chown -R ftpuser:ftpgroup \/home\/ftpuser \u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439: ln -s \/etc\/pure-ftpd\/conf\/PureDB \/etc\/pure-ftpd\/auth\/50pure \u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/biksant.pl.ua\/index.php?rest_route=\/wp\/v2\/posts\/199"}],"collection":[{"href":"https:\/\/biksant.pl.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/biksant.pl.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/biksant.pl.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/biksant.pl.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=199"}],"version-history":[{"count":9,"href":"https:\/\/biksant.pl.ua\/index.php?rest_route=\/wp\/v2\/posts\/199\/revisions"}],"predecessor-version":[{"id":236,"href":"https:\/\/biksant.pl.ua\/index.php?rest_route=\/wp\/v2\/posts\/199\/revisions\/236"}],"wp:attachment":[{"href":"https:\/\/biksant.pl.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biksant.pl.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biksant.pl.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}