{"id":166,"date":"2012-02-17T12:16:45","date_gmt":"2012-02-17T03:16:45","guid":{"rendered":"http:\/\/kaz.it-n.jp\/wordpress\/?page_id=166"},"modified":"2012-02-17T12:16:45","modified_gmt":"2012-02-17T03:16:45","slug":"pro%e3%83%97%e3%83%a9%e3%83%b3%e3%80%80%e3%82%b7%e3%83%b3%e3%83%97%e3%83%ab%e3%83%91%e3%83%83%e3%82%b1%e3%83%bc%e3%82%b8","status":"publish","type":"page","link":"https:\/\/kaz.it-n.jp\/?page_id=166","title":{"rendered":"1.Pro\u30d7\u30e9\u30f3\u3000\u30b7\u30f3\u30d7\u30eb\u30d1\u30c3\u30b1\u30fc\u30b8"},"content":{"rendered":"<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3082\u306e<br \/>\nCentOS5-32bit\u7248\uff08DTI@VPS\u3067\u9078\u629e\u3067\u304d\u308b\u3082\u306e\uff09<\/p>\n<p>\u958b\u8a2d\u5f53\u521d\u306e\u7a3c\u50cd\u30c7\u30fc\u30e2\u30f3\u30ea\u30b9\u30c8<br \/>\najaxterm 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br \/>\ncrond 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br \/>\ngpm 0:off 1:off 2:on 3:off 4:on 5:on 6:off<br \/>\nhttpd 0:off 1:off 2:off 3:on 4:off 5:off 6:off<br \/>\niptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br \/>\niscsi 0:off 1:off 2:off 3:on 4:on 5:on 6:off<br \/>\niscsid 0:off 1:off 2:off 3:on 4:on 5:on 6:off<br \/>\nlm_sensors 0:off 1:off 2:on 3:off 4:on 5:on 6:off<br \/>\nlvm2-monitor 0:off 1:on 2:on 3:off 4:on 5:on 6:off<br \/>\nmcstrans 0:off 1:off 2:on 3:off 4:on 5:on 6:off<br \/>\nmessagebus 0:off 1:off 2:off 3:off 4:on 5:on 6:off<br \/>\nnetfs 0:off 1:off 2:off 3:off 4:on 5:on 6:off<br \/>\nnetwork 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br \/>\nportmap 0:off 1:off 2:off 3:off 4:on 5:on 6:off<br \/>\nrawdevices 0:off 1:off 2:off 3:off 4:on 5:on 6:off<br \/>\nrestorecond 0:off 1:off 2:on 3:off 4:on 5:on 6:off<br \/>\nsaslauthd 0:off 1:off 2:off 3:on 4:off 5:off 6:off<br \/>\nsendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br \/>\nserversman 0:off 1:off 2:off 3:on 4:on 5:on 6:off<br \/>\nsmadmd 0:off 1:off 2:off 3:on 4:on 5:on 6:off<br \/>\nsshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br \/>\nsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br \/>\nvzquota 0:on 1:on 2:on 3:on 4:on 5:on 6:on<br \/>\nxinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off<\/p>\n<p>\u771f\u3063\u5148\u306b\u3084\u3089\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u3053\u3068\u306froot \u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u3068\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u30fc\u306e\u4f5c\u6210<br \/>\npasswd\uff08root \u3067\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3066\u3070\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u304c\u3067\u304d\u307e\u3059\u30022\u56de\u805e\u3044\u3066\u304f\u308b\uff09<br \/>\nuseradd kanrisya\uff08\u4eee\u306b\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u30fc\u3092kanrisya \u3068\u3044\u3046\u540d\u524d\u3067\u4f5c\u6210\uff09<br \/>\npasswd kanrisya\uff08\u8a2d\u5b9a\u3059\u308b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u30022\u56de\u805e\u3044\u3066\u304f\u308b\uff09<br \/>\npasswd: all authentication tokens updated successfully.\u3068\u51fa\u3066\u304f\u308c\u3070\u8a2d\u5b9a\u6210\u529f<\/p>\n<p>usermod -G wheel kanrisya<br \/>\n\u3053\u306e\u8a2d\u5b9a\u3092\u3057\u306a\u3044\u3068\u6b21\u306e\u8a2d\u5b9a\u3092\u3057\u305f\u5f8croot \u30e6\u30fc\u30b6\u30fc\u306b\u306a\u308c\u306a\u304f\u306a\u308b\u306e\u3067\u6ce8\u610f\u3002<\/p>\n<p>\/etc\/pam.d\/su<br \/>\n\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u6b21\u306e\u884c\u306b\u3042\u308b\uff03\u3092\u524a\u9664\u3057\u305f\u5f8c\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30bb\u30fc\u30d6<br \/>\n\uff08\u5909\u66f4\u524d\uff09#auth required pam_wheel.so use_uid<br \/>\n\uff08\u5909\u66f4\u5f8c\uff09auth required pam_wheel.so use_uid<br \/>\n\u3053\u306e\u5909\u66f4\u5f8c\u306fwheel\u30b0\u30eb\u30fc\u30d7\u306b\u53c2\u52a0\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306e\u307fsu \u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\/etc\/ssh\/sshd_config<br \/>\n\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u6b21\u306e\u884c\u306b\u3042\u308b\uff03\u3092\u524a\u9664\u3001\u5f15\u6570\u3092no\u306b\u3057\u305f\u5f8c\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30bb\u30fc\u30d6<br \/>\n\uff08\u5909\u66f4\u524d\uff09#PermitRootLogin yes<br \/>\n\uff08\u5909\u66f4\u5f8c\uff09PermitRootLogin no<br \/>\n\u3053\u306e\u5909\u66f4\u5f8csshd \u3092\u518d\u8d77\u52d5\u3059\u308b\u3068root \u3067\u306e\u30ed\u30b0\u30a4\u30f3\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u306e\u8a2d\u5b9a\u3092\u4e00\u6c17\u306b\u3084\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u4e2d\u9014\u534a\u7aef\u306a\u3068\u3053\u308d\u3067\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u305f\u308a<br \/>\n\u30de\u30b7\u30f3\u3092\u518d\u8d77\u52d5\u3059\u308b\u3068root \u306b\u306a\u308c\u306a\u304f\u306a\u3063\u3066\u4eee\u60f3\u30b5\u30fc\u30d0\u30fc\u306e\u521d\u671f\u5316\u304b\u3089\u3084\u308b\u7fbd\u76ee\u306b<br \/>\n\u306a\u308a\u307e\u3059\u306e\u3067\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30ed\u30b0\u30a2\u30a6\u30c8\u3059\u308b\u524d\u306byum \u3067\u6700\u65b0\u7248\u307e\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\nyum -y update<\/p>\n<p>\u5b8c\u4e86\u3057\u305f\u3089\u518d\u8d77\u52d5\u3057\u3066\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u30fc\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u5404\u7a2e\u64cd\u4f5c\u3092\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3082\u306e CentOS5-32bit\u7248\uff08DTI@VPS\u3067\u9078\u629e\u3067\u304d\u308b\u3082\u306e\uff09 \u958b\u8a2d\u5f53\u521d\u306e\u7a3c\u50cd\u30c7\u30fc\u30e2\u30f3\u30ea\u30b9\u30c8 ajaxterm 0:off 1:off 2:on 3:on 4:on 5:on 6:off crond &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/kaz.it-n.jp\/?page_id=166\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;1.Pro\u30d7\u30e9\u30f3\u3000\u30b7\u30f3\u30d7\u30eb\u30d1\u30c3\u30b1\u30fc\u30b8&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":164,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-166","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kaz.it-n.jp\/index.php?rest_route=\/wp\/v2\/pages\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kaz.it-n.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kaz.it-n.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kaz.it-n.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kaz.it-n.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=166"}],"version-history":[{"count":0,"href":"https:\/\/kaz.it-n.jp\/index.php?rest_route=\/wp\/v2\/pages\/166\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/kaz.it-n.jp\/index.php?rest_route=\/wp\/v2\/pages\/164"}],"wp:attachment":[{"href":"https:\/\/kaz.it-n.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}