{"id":3538,"date":"2020-05-05T00:05:00","date_gmt":"2020-05-04T15:05:00","guid":{"rendered":"https:\/\/tech.akat.info\/?p=3538"},"modified":"2020-05-05T00:05:00","modified_gmt":"2020-05-04T15:05:00","slug":"linux%e3%83%a6%e3%83%bc%e3%82%b6%e3%82%92%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=3538","title":{"rendered":"Linux\u30e6\u30fc\u30b6\u3092\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3059\u308b"},"content":{"rendered":"<p><a href=\"https:\/\/server-setting.info\/centos\/login_user.html\">\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u30e6\u30fc\u30b6\u306e\u4f5c\u6210\u3068\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u7528\u65b9\u6cd5<\/a>\u306b\u3059\u3079\u3066\u66f8\u304b\u308c\u3066\u3044\u308b\u304c\u3001\u8a66\u3057\u305f\u306e\u3067\u6b8b\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b7\u30a7\u30eb\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u3001Linux\u30e6\u30fc\u30b6\u3092\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# cat \/etc\/lsb-release\r\nDISTRIB_ID=Ubuntu\r\nDISTRIB_RELEASE=16.04\r\nDISTRIB_CODENAME=xenial\r\nDISTRIB_DESCRIPTION=&quot;Ubuntu 16.04.6 LTS&quot;\r\n\r\n# cat \/etc\/passwd | grep test\r\ntest:x:1002:1002:,,,:\/home\/test:\/bin\/bash\r\n\r\n# usermod -s \/usr\/sbin\/nologin test\r\n\r\n# cat \/etc\/passwd | grep test\r\ntest:x:1002:1002:,,,:\/home\/test:\/usr\/sbin\/nologin\r\n\r\n# su test\r\nThis account is currently not available.\r\n<\/pre>\n<p>\u203b\/usr\/sbin\/nologin\u306e\u4ee3\u308f\u308a\u306b\/bin\/false\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3002<br \/>\n\u3000\u305d\u306e\u5834\u5408\u306f\u300cThis account is currently not available.\u300d\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u30e6\u30fc\u30b6\u306e\u4f5c\u6210\u3068\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u7528\u65b9\u6cd5\u306b\u3059\u3079\u3066\u66f8\u304b\u308c\u3066\u3044\u308b\u304c\u3001\u8a66\u3057\u305f\u306e\u3067\u6b8b\u3057\u3066\u304a\u304f\u3002 \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b7\u30a7\u30eb\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u3001Linux\u30e6\u30fc\u30b6\u3092\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3002 # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/3538"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3538"}],"version-history":[{"count":1,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/3538\/revisions"}],"predecessor-version":[{"id":3539,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/3538\/revisions\/3539"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}