{"id":838,"date":"2006-05-14T13:55:19","date_gmt":"2006-05-14T04:55:19","guid":{"rendered":"http:\/\/pipopa.dip.jp\/?p=838"},"modified":"2015-09-26T13:56:09","modified_gmt":"2015-09-26T04:56:09","slug":"centos-%e3%81%aesu%e3%81%ab%e3%81%aa%e3%82%8c%e3%82%8b%e3%83%a6%e3%83%bc%e3%82%b6%e3%81%ae%e5%88%b6%e9%99%90","status":"publish","type":"post","link":"https:\/\/pipopa.server-on.net\/?p=838","title":{"rendered":"CentOS \u306esu\u306b\u306a\u308c\u308b\u30e6\u30fc\u30b6\u306e\u5236\u9650"},"content":{"rendered":"<table width=\"80%\">\n<tbody>\n<tr>\n<td align=\"center\" bgcolor=\"#FF9933\"><span style=\"color: #ffffff;\"><b> [CentOS \u306esu\u306b\u306a\u308c\u308b\u30e6\u30fc\u30b6\u306e\u5236\u9650]&#8212;&#8211;2006\/05\/14(Sun) 12:40<\/b><\/span><\/td>\n<\/tr>\n<tr>\n<td>\u30b3\u30d4\u30da\u3002\u3002\u3002\u3002<br \/>\n\u30b5\u30fc\u30d0\u3078ssh\u30ed\u30b0\u30aa\u30f3\u3092\u8a31\u53ef\u3059\u308b\u30e6\u30fc\u30b6\u306e\u6307\u5b9a<br \/>\n[<a href=\"mailto:root@fedora\">root@fedora<\/a> root]# vi \/etc\/login.defs<br \/>\n\u6700\u7d42\u884c\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0<br \/>\nSU_WHEEL_ONLY yes<\/p>\n<p>[<a href=\"mailto:root@fedora\">root@fedora<\/a> root]# vi \/etc\/pam.d\/su<br \/>\n#%PAM-1.0<br \/>\nauth sufficient \/lib\/security\/$ISA\/pam_rootok.so<br \/>\n# Uncomment the following line to implicitly trust users in the &#8220;wheel&#8221; group.<br \/>\n#auth sufficient \/lib\/security\/$ISA\/pam_wheel.so trust use_uid<br \/>\n# Uncomment the following line to require a user to be in the &#8220;wheel&#8221; group.<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3059<br \/>\nauth required \/lib\/security\/$ISA\/pam_wheel.so use_uid<br \/>\nauth required \/lib\/security\/$ISA\/pam_stack.so service=system-auth<br \/>\naccount required \/lib\/security\/$ISA\/pam_stack.so service=system-auth<br \/>\npassword required \/lib\/security\/$ISA\/pam_stack.so service=system-auth<br \/>\nsession required \/lib\/security\/$ISA\/pam_stack.so service=system-auth<br \/>\nsession optional \/lib\/security\/$ISA\/pam_selinux.so multiple<br \/>\nsession optional \/lib\/security\/$ISA\/pam_xauth.so<\/p>\n<p>\u30e6\u30fc\u30b6&#8221;linux&#8221;\u306e\u30bb\u30ab\u30f3\u30c0\u30ea\u30b0\u30eb\u30fc\u30d7\u306b&#8221;wheel&#8221;\u3092\u8ffd\u52a0<br \/>\n[<a href=\"mailto:root@fedora\">root@fedora<\/a> root]# usermod -G wheel linux<\/p>\n<p>\u4e0a\u8a18\u3092\u8a2d\u5b9a\u3059\u308b\u4e8b\u306b\u3088\u308a\u3001\u4e00\u822c\u30e6\u30fc\u30b6&#8221;linux&#8221;\u304croot(\u7ba1\u7406\u8005)\u306b\u306a\u308c\u307e\u3059\u3002<br \/>\n\u203b)\u9006\u306b\u8a00\u3046\u3068\u30bb\u30ab\u30f3\u30c0\u30ea\u30b0\u30eb\u30fc\u30d7&#8221;wheel&#8221;\u306b\u5c5e\u3055\u306a\u3044\u30e6\u30fc\u30b6\u306froot(\u7ba1\u7406\u8005)\u306b<br \/>\n\u306a\u308c\u306a\u3044\u3068\u3044\u3046\u4e8b\u306b\u306a\u308a\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>[CentOS \u306esu\u306b\u306a\u308c\u308b\u30e6\u30fc\u30b6\u306e\u5236\u9650]&#8212;&#8211;2006\/05\/14(Sun) 12:40 \u30b3\u30d4\u30da\u3002\u3002\u3002\u3002 \u30b5\u30fc\u30d0\u3078ssh\u30ed\u30b0\u30aa\u30f3\u3092\u8a31\u53ef\u3059\u308b\u30e6\u30fc\u30b6\u306e\u6307\u5b9a [root@fedora root]# v [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-838","post","type-post","status-publish","format-standard","hentry","category-kopipe"],"_links":{"self":[{"href":"https:\/\/pipopa.server-on.net\/index.php?rest_route=\/wp\/v2\/posts\/838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pipopa.server-on.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pipopa.server-on.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pipopa.server-on.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pipopa.server-on.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=838"}],"version-history":[{"count":1,"href":"https:\/\/pipopa.server-on.net\/index.php?rest_route=\/wp\/v2\/posts\/838\/revisions"}],"predecessor-version":[{"id":839,"href":"https:\/\/pipopa.server-on.net\/index.php?rest_route=\/wp\/v2\/posts\/838\/revisions\/839"}],"wp:attachment":[{"href":"https:\/\/pipopa.server-on.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pipopa.server-on.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pipopa.server-on.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}