{"id":23,"date":"2009-11-14T12:33:39","date_gmt":"2009-11-14T04:33:39","guid":{"rendered":"http:\/\/kaoru.tech\/?p=23"},"modified":"2010-11-09T13:20:49","modified_gmt":"2010-11-09T05:20:49","slug":"how-to-enable-user-ftp-while-disable-user-shell","status":"publish","type":"post","link":"http:\/\/kaoru.tech:7000\/wordpress\/?p=23","title":{"rendered":"How to enable user ftp while disable user shell"},"content":{"rendered":"<p>As wu-ftpd man say &#8220;The user must have a standard shell returned by getusershell&#8221; and getusershell() function returns the next line from the file \/etc\/shells.<\/p>\n<p>Step1: assign \/usr\/sbin\/nologin shell to user.<\/p>\n<p>Step2: add \/usr\/bin\/nologin to file \/etc\/shell<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As wu-ftpd man say &#8220;The user must have a standard shell returned by getusershell&#8221; and getusershell() function returns the next line from the file \/etc\/shells. Step1: assign \/usr\/sbin\/nologin shell to&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[33],"tags":[12],"class_list":["post-23","post","type-post","status-publish","format-standard","hentry","category-rootfs","tag-ftpd"],"_links":{"self":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/23","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23"}],"version-history":[{"count":3,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":391,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions\/391"}],"wp:attachment":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}