{"categories":["Linux","CentOS","rep2"],"version":"1.0","height":"190","image_url":null,"url":"https://tkx.hatenablog.jp/entry/20180327/p1","blog_title":"\u65e5\u3005\u96d1\u4e8b&\u5099\u8003\u9332","provider_name":"Hatena Blog","type":"rich","description":"\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u5f8c\u306b\u3001ssh\u306e\u8a2d\u5b9a\u3092\u5909\u66f4 root\u3067\u306e\u30ed\u30b0\u30a4\u30f3\u7981\u6b62 \u901a\u5e38\u306e\u30ed\u30b0\u30a4\u30f3\u8a8d\u8a3c\u306e\u7981\u6b62 \u30c1\u30e3\u30ec\u30f3\u30b8\u30ec\u30b9\u30dd\u30f3\u30b9\u8a8d\u8a3c\u3092\u8a31\u53ef -> http://d.hatena.ne.jp/TKX/20130328#p1 sshd\u306e\u30b5\u30fc\u30d3\u30b9\u306e\u518d\u8d77\u52d5\u3092\u5fc5\u8981\u3068\u3059\u308b\u304c\u3001CentOS7\u304b\u3089 systemd\u306b\u306a\u3063\u305f\u306e\u3067 # systemctl restart sshd<.service> su\u3067\u304d\u308b\u30e6\u30fc\u30b6\u30fc\u3092\u5236\u9650\u3059\u308b(Wheel\u30b0\u30eb\u30fc\u30d7\u4ee5\u5916\u306e\u30e6\u30fc\u30b6\u30fc\u306esu\u7981\u6b62\uff09 # usermod -aG wheel <user id> # cat /etc/pam.d/su #%PAM-1.0 auth sufficient pam\u2026","published":"2018-03-27 00:00:00","title":"CentOS 7 + Nginx + rep2 \u305d\u306e2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkx.hatenablog.jp%2Fentry%2F20180327%2Fp1\" title=\"CentOS 7 + Nginx + rep2 \u305d\u306e2 - \u65e5\u3005\u96d1\u4e8b&amp;\u5099\u8003\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/TKX/","blog_url":"https://tkx.hatenablog.jp/","author_name":"TKX"}