{"id":756,"date":"2015-05-08T16:53:45","date_gmt":"2015-05-09T01:53:45","guid":{"rendered":"http:\/\/blog.box.kr\/?p=756"},"modified":"2015-05-08T16:53:45","modified_gmt":"2015-05-09T01:53:45","slug":"vsftpd-on-centos-server-530-login-incorrect-error-fixed","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=756","title":{"rendered":"vsftpd on Centos server 530 login incorrect error \u2013 fixed"},"content":{"rendered":"<p><span class=\"Apple-converted-space\">\u00a0<\/span>The settings for disabling anonymous login and allowing local users where set in \/etc\/vsftpd.conf.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; border: 1px solid #9f9f9f; text-align: left; color: #f8f8f8; text-transform: none; text-indent: 0px; letter-spacing: normal; overflow: auto; margin-bottom: 10px; word-spacing: 0px; white-space: nowrap; box-sizing: border-box; widows: 1; font-size-adjust: none; font-stretch: normal; background-color: #0c1021; -webkit-text-stroke-width: 0px;\">\n<div class=\"bash codecolorer\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; padding: 5px; text-align: left; color: #f8f8f8; box-sizing: border-box; font-size-adjust: none; font-stretch: normal; background-color: #0c1021;\"><span class=\"re2\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #fbde2d; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">anonymous_enable<\/span>=NO<br style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\" \/><span class=\"re2\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #fbde2d; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">local_enable<\/span>=YES<br style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\" \/><span class=\"re2\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #fbde2d; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">write_enable<\/span>=YES\n<\/div>\n<\/div>\n<p>But the ftp server still refused to let me login with any of the users on the system. I tried remove and reinstall, but the problem persisted.<span class=\"Apple-converted-space\">\u00a0<\/span><a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/vsftpd\/+bug\/869684\" target=\"_blank\">Finally I found a thread where others had the same problem<\/a>. And here\u2019s how to fix the problem.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; border: 1px solid #9f9f9f; text-align: left; color: #f8f8f8; text-transform: none; text-indent: 0px; letter-spacing: normal; overflow: auto; margin-bottom: 10px; word-spacing: 0px; white-space: nowrap; box-sizing: border-box; widows: 1; font-size-adjust: none; font-stretch: normal; background-color: #0c1021; -webkit-text-stroke-width: 0px;\">\n<div class=\"bash codecolorer\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; padding: 5px; text-align: left; color: #f8f8f8; box-sizing: border-box; font-size-adjust: none; font-stretch: normal; background-color: #0c1021;\"><span class=\"kw2\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #fbde2d; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">sudo<\/span><span class=\"Apple-converted-space\">\u00a0<\/span><span class=\"kw2\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #fbde2d; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">yum\u00a0uninstall<\/span><span class=\"Apple-converted-space\">\u00a0<\/span>vsftpd<br style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\" \/><span class=\"kw2\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #fbde2d; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">sudo<\/span><span class=\"Apple-converted-space\">\u00a0<\/span><span class=\"kw2\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #fbde2d; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">rm<\/span><span class=\"Apple-converted-space\">\u00a0<\/span><span class=\"sy0\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #f8f8f8; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">\/<\/span>etc<span class=\"sy0\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #f8f8f8; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">\/<\/span>pam.d<span class=\"sy0\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #f8f8f8; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">\/<\/span>vsftpd<br style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\" \/><span class=\"kw2\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #fbde2d; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">sudo<\/span><span class=\"Apple-converted-space\">\u00a0<\/span><span class=\"kw2\" style=\"font: 13px\/1.4em Monaco, 'Lucida Console', monospace; color: #fbde2d; box-sizing: border-box; font-size-adjust: none; font-stretch: normal;\">yum install<\/span><span class=\"Apple-converted-space\">\u00a0<\/span>vsftpd\n<\/div>\n<\/div>\n<p>This fixed the problem for me. The only reason for me to have an ftp server on my machine is to do automatic updates of WordPress. The machine is behind a firewall so port 21 is not open to the world. For file upload I use sftp.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0The settings for disabling anonymous login and allowing local users where set in \/etc\/vsftpd.conf. anonymous_enable=NOlocal_enable=YESwrite_enable=YES But the ftp server still refused to let me login with any of the users on the system. I tried remove and reinstall, but the problem persisted.\u00a0Finally I found a thread where others had the same problem. And here\u2019s how to fix the problem. sudo\u00a0yum\u00a0uninstall\u00a0vsftpdsudo\u00a0rm\u00a0\/etc\/pam.d\/vsftpdsudo\u00a0yum install\u00a0vsftpd This fixed the problem for me. The only reason for me to have an ftp server on my machine is to do automatic updates of WordPress. The machine is behind a firewall so port 21 is not open to the world. For file upload I use sftp.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[17,5,7],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-cc","jetpack-related-posts":[{"id":853,"url":"https:\/\/blog.box.kr\/?p=853","url_meta":{"origin":756,"position":0},"title":"[scrap]\ub9ac\ub205\uc2a4\uc5d0\uc11c vsftp\uc124\uc815(530\uc5d0\ub7ec, 500\uc5d0\ub7ec, root \ub85c\uadf8\uc778 \uc2e4\ud328 \ud3ec\ud568)","date":"2015-05-20","format":false,"excerpt":"http:\/\/dryad.kr\/bbs\/board.php?bo_table=rboard01&wr_id=200 \u00a0 \ub9ac\ub205\uc2a4 :\u00a0CentOS 5.6 vsFTPD\u00a0: Very Secure FTPD vsftpd FTP \uc11c\ubc84\uc5d0 \ub300\ud574 vsftpd\ub294 UNIX \uc2dc\uc2a4\ud15c\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 free FTP \uc11c\ubc84(\ub77c\uc774\uc13c\uc2a4\ub294 GPL)\uc774\ub2e4. vsftpd\uac00 \ub0b4\uc138\uc6b0\uace0 \uc788\ub294 \uac83\uc740 \ubcf4\uc548, \uc131\ub2a5, \uc548\uc815\uc131\uc774\ub2e4. \uc9c0\uae08\uae4c\uc9c0 vsftpd\uc758 \uc790\uccb4 \ubcf4\uc548 \ubb38\uc81c\uac00 \uc788\uc5b4 \ubcf4\uc548\uad8c\uace0\uac00 \ub098\uc628 \uc801\uc740 \uc5c6\ub2e4.(Redhat\uc758 rpm \ud328\ud0a4\uc9c0\uc911\uc5d0 tcp_wrappers \uc9c0\uc6d0\uc5c6\uc774 \ub9cc\ub4e4\uc5b4\uc838\uc11c \uc5c5\ub370\uc774\ud2b8 rpm\uc740 \ub098\uc628 \uc801 \uc788\uc74c)\u2026","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":729,"url":"https:\/\/blog.box.kr\/?p=729","url_meta":{"origin":756,"position":1},"title":"install PostgreSQL on CentOS7","date":"2015-04-21","format":false,"excerpt":"1.\u00a0Install ( \u00a02015-04-21 > \ucd5c\uc2e0 \ubc84\uc804\uc740 9.4\u00a0 ) [root@localhost ~]# rpm -Uvh http:\/\/yum.postgresql.org\/9.4\/redhat\/rhel-7-x86_64\/pgdg-centos94-9.4-1.noarch.rpm http:\/\/yum.postgresql.org\/9.4\/redhat\/rhel-7-x86_64\/pgdg-centos94-9.4-1.noarch.rpm(\uc744)\ub97c \ubcf5\uad6c\ud569\ub2c8\ub2e4 \uacbd\uace0: \/var\/tmp\/rpm-tmp.z0BMz8: Header V4 DSA\/SHA1 Signature, key ID 442df0f8: NOKEY \uc900\ube44 \uc911...\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ################################# [100%] Updating \/ installing... 1:pgdg-centos94-9.4-1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ################################# [100%] [root@localhost ~]# yum install postgresql94 postgresql94-server postgresql94-libs postgresql94-contrib postgresql94 Loaded plugins: fastestmirror, langpacks http:\/\/linuxdownload.adobe.com\/linux\/x86_64\/repodata\/repomd.xml: [Errno\u2026","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":775,"url":"https:\/\/blog.box.kr\/?p=775","url_meta":{"origin":756,"position":2},"title":"Setup mail server on centos 7","date":"2015-05-12","format":false,"excerpt":"This article helps you to install and configure basic mail server on Centos 7. Here i have used Postfix for SMTP, Dovecot for POP\/IMAP and Dovecot SASL for SMTP AUTH. Before proceeding please make sure you have assigned static IP for the server and have internet connectivity for installing packages.\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"Setup mail server on centos 7","src":"https:\/\/i0.wp.com\/1-ps.googleusercontent.com\/hk\/AwAJwg9ecIBNxEHGg0w8SfePD8\/www.krizna.com\/wp-content\/uploads\/2015\/01\/Setup_mail_server_centos_7.png.pagespeed.ce._so1uJb5qKCs4NSN7OOP.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":698,"url":"https:\/\/blog.box.kr\/?p=698","url_meta":{"origin":756,"position":3},"title":"Securing Svnserve using SSH","date":"2015-04-15","format":false,"excerpt":"http:\/\/tortoisesvn.net\/ssh_howto.html Securing Svnserve using SSH This section provides a step-by-step guide to setting up Subversion and TortoiseSVN to use the svn+ssh protocol. If you already use authenticated SSH connections to login to your server, then you are already there and you can find more detail in the Subversion book. If\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":673,"url":"https:\/\/blog.box.kr\/?p=673","url_meta":{"origin":756,"position":4},"title":"[Linux]Install MariaDB 10.0 on CentOS linux using YUM command","date":"2015-04-13","format":false,"excerpt":"Adding the MariaDB YUM Repository We highly recommended to use custom\u00a0MariaDB YUM\u00a0repository to install. Create a repo file under\/etc\/yum.repos.d\/MariaDB.repo, Copy and paste following line under MariaDB repository: Add repository on Centos 6.5 32-bit # vi \/etc\/yum.repos.d\/MariaDB.repo and paste following line: # MariaDB 10.0 CentOS repository list - created 2014-03-12 12:46\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"Connect to MariaDB 10.0","src":"https:\/\/i0.wp.com\/lintut.com\/wp-content\/uploads\/2014\/03\/639x352xScreenshot-from-2014-03-12-141810.png.pagespeed.ic.DHQ-h4Kmpx.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":736,"url":"https:\/\/blog.box.kr\/?p=736","url_meta":{"origin":756,"position":5},"title":"VSFTP install on CENTOS7","date":"2015-04-27","format":false,"excerpt":"1. using yum yum -y install vsftpd db4-utils 2. config vi \/etc\/vsftpd\/vsftpd.conf We need to adjust some basic parameters in this file to increase security and establish our connection options. The first thing we will do is disable anonymous users. While this option may make sense for a large, public\u2026","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/756"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=756"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/756\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}