{"id":137,"date":"2014-03-09T18:23:19","date_gmt":"2014-03-09T18:23:19","guid":{"rendered":"http:\/\/ecodebook.wordpress.com\/?p=137"},"modified":"2014-03-09T18:23:19","modified_gmt":"2014-03-09T18:23:19","slug":"install-vsftpd-and-setup-user","status":"publish","type":"post","link":"https:\/\/blog.mycarts.shop\/?p=137","title":{"rendered":"Install VSFTPD and setup user"},"content":{"rendered":"<h3>Install VSFTPD and setup user<\/h3>\n<p>1. Type this<\/p>\n<p>[code leg=&#8221;php&#8221;]# cd \/tmp[\/code]<\/p>\n<p>2. Install VSFTPD<\/p>\n<p>[code leg=&#8221;php&#8221;]#\u00a0 yum install vsftp[\/code]<\/p>\n<p>3. Open vsftpd configuration file &#8211; \/etc\/vsftpd\/vsftpd.conf<\/p>\n<p>[code leg=&#8221;php&#8221;]# vi \/etc\/vsftpd\/vsftpd.conf[\/code]<\/p>\n<p>4. Make sure following line exists (and uncommented)<\/p>\n<p>[code leg=&#8221;php&#8221;]chroot_local_user=YES[\/code]<\/p>\n<p>5. Add user to FTP<\/p>\n<p>[code leg=&#8221;php&#8221;]# adduser -c &#8216;FTP USER Tom&#8217; -m tom<br \/>\n# passwd tom[\/code]<\/p>\n<p>6. Ensure that vsftpd runs at boot, run chkconfig<br \/>\n[code leg=&#8221;php&#8221;]#chkconfig vsftpd on[\/code]<\/p>\n<p>7. Restart vsftpd<\/p>\n<p>[code leg=&#8221;php&#8221;]# \/etc\/init.d\/vsftpd restart[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install VSFTPD and setup user 1. Type this [code leg=&#8221;php&#8221;]# cd \/tmp[\/code] 2. Install VSFTPD [code leg=&#8221;php&#8221;]#\u00a0 yum install vsftp[\/code] 3. Open vsftpd configuration file &#8211; \/etc\/vsftpd\/vsftpd.conf [code leg=&#8221;php&#8221;]# vi \/etc\/vsftpd\/vsftpd.conf[\/code] 4. Make sure following line exists (and uncommented) [code leg=&#8221;php&#8221;]chroot_local_user=YES[\/code] 5. Add user to FTP [code leg=&#8221;php&#8221;]# adduser -c &#8216;FTP USER Tom&#8217; -m tom&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-137","post","type-post","status-publish","format-standard","hentry","category-ssh"],"_links":{"self":[{"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=\/wp\/v2\/posts\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=137"}],"version-history":[{"count":0,"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=\/wp\/v2\/posts\/137\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}