{"id":52,"date":"2016-06-12T23:03:47","date_gmt":"2016-06-12T21:03:47","guid":{"rendered":"http:\/\/moumoune.xcorp.fr\/?p=52"},"modified":"2016-10-03T21:32:19","modified_gmt":"2016-10-03T19:32:19","slug":"proftpd","status":"publish","type":"post","link":"https:\/\/blog.xcorp.fr\/index.php\/2016\/06\/12\/proftpd\/","title":{"rendered":"proftpd"},"content":{"rendered":"<p>chrooter un user dans un dossier particulier :<\/p>\n<p>dans \/etc\/proftpd\/proftpd.conf modifier :<\/p>\n<p><em># Use this to jail all users in their homes<\/em><br \/>\n<em>DefaultRoot \/home\/FOLDER user<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>pour eviter les plantage sous ubuntu 14.04 il faut modifier le fichier \/etc\/init.d\/proftpd<\/p>\n<p>sur la ligne :<\/p>\n<pre><code>start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile \"$PIDFILE\"\r\n<\/code><\/pre>\n<p>il faut rajouter le &#8211;retry 1<\/p>\n<pre><code>start-stop-daemon --stop --signal $SIGNAL --retry 1 --quiet --pidfile \"$PIDFILE\"<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>source :\u00a0http:\/\/stackoverflow.com\/questions\/23666697\/proftpd-killed-signal-15-error-how-to-fix-logrotate-restart-error<\/p>\n<p>&nbsp;<\/p>\n<p>Proftpd s\u00e9curis\u00e9 :<\/p>\n<p>https:\/\/www.howtoforge.com\/tutorial\/install-proftpd-with-tls-on-ubuntu-16-04\/<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>chrooter un user dans un dossier particulier : dans \/etc\/proftpd\/proftpd.conf modifier : # Use this to jail all users in their homes DefaultRoot \/home\/FOLDER user &nbsp; pour eviter les plantage sous ubuntu 14.04 il faut modifier le fichier \/etc\/init.d\/proftpd sur &hellip; <a href=\"https:\/\/blog.xcorp.fr\/index.php\/2016\/06\/12\/proftpd\/\">Continuer la lecture <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/posts\/52"}],"collection":[{"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":4,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/posts\/52\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/posts\/52\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/media?parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/categories?post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/tags?post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}