{"author_name":"erio_nk","type":"rich","url":"https://erio-nk.hatenadiary.org/entry/20121009/1349793656","published":"2012-10-09 23:40:56","blog_title":"erio_nk://memo","blog_url":"https://erio-nk.hatenadiary.org/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ferio-nk.hatenadiary.org%2Fentry%2F20121009%2F1349793656\" title=\" access.conf\u306e\u8b0e - erio_nk://memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","version":"1.0","image_url":null,"title":" access.conf\u306e\u8b0e","categories":["CentOS","SSH"],"description":"hoge\u30e6\u30fc\u30b6\u306f\u7279\u5b9aIP\u4ee5\u5916\u7981\u6b62\u3067\u3001hoge2\u30e6\u30fc\u30b6\u306f\u3069\u3053\u304b\u3089\u3067\u3082OK\u3068\u3044\u3046\u8a2d\u5b9a\u3092\u3059\u308b\u6642\u3001 \u4ee5\u4e0b\u306e\u8a2d\u5b9a\u306e\u3088\u3046\u306bhoge2\u3092\u5148\u306b\u6301\u3063\u3066\u3053\u306a\u3044\u3068hoge2\u304c\u63a5\u7d9a\u51fa\u6765\u306a\u304b\u3063\u305f\u3002# vi /etc/security/access.conf ... # hoge2\u304c\u5148\u306a\u3089OK + : hoge2 : ALL - : hoge : ALL EXCEPT xxx.xxx.xxx.xxx \u9006\u3060\u3068NG\u3002# hoge\u304c\u5148\u3060\u3068NG\u3002\u300choge\u300d\u306e\u8a2d\u5b9a\u304c\u9069\u7528\u3055\u308c\u3066\u308b\u3063\u307d\u3044\uff1f - : hoge : ALL EXCEPT xxx.xxx.xxx.xxx + : hoge2 : ALL\u5148\u306bALL\u63a5\u7d9a\u8a31\u53ef\u3068\u304b\u3057\u3066\u3082\u30c0\u30e1\u3060\u3063\u305f\u2026","provider_name":"Hatena Blog","height":"190","author_url":"https://blog.hatena.ne.jp/erio_nk/"}