{"categories":["CentOS"],"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","description":"\u4ee5\u524d\u7279\u5b9a\u306e\u30b3\u30de\u30f3\u30c9\u3057\u304b\u5b9f\u884c\u3067\u304d\u306a\u3044\u30e6\u30fc\u30b6\u3092\u4f5c\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u6642\u306brbash\u3092\u4f7f\u7528\u3057\u305f\u306e\u304c\u4fbf\u5229\u3060\u3063\u305f\u306e\u3067\u3001\u305d\u306e\u6642\u306e\u30e1\u30e2\u306b\u306a\u308a\u307e\u3059\u3002\u78ba\u8a8d\u3057\u305f\u74b0\u5883\u306fCentOS 7.2\u306b\u306a\u308a\u307e\u3059\u30021. rbash\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b # ln -s /bin/bash /bin/rbash # vi /etc/shells /bin/rbash \u2190\u3053\u306e\u884c\u3092\u8ffd\u52a02. \u5b9f\u884c\u30b7\u30a7\u30eb\u306e\u5909\u66f4 # su \u5236\u9650\u3059\u308b\u30e6\u30fc\u30b6 $ cssh \u65b0\u3057\u3044\u30b7\u30a7\u30eb [/bin/bash]: /bin/rbash \u2190\u300c/bin/rbash\u300d\u3092\u5165\u529b3. bash_profile\u306e\u6240\u6709\u8005\u5909\u66f4\u304a\u3088\u3073 root\u306b\u30e6\u30fc\u30b6\u30fc\u3092\u5207\u308a\u66ff\u3048\u3066tenda_keiei\u306eb\u2026","blog_url":"https://steavevaivai.hatenablog.com/","url":"https://steavevaivai.hatenablog.com/entry/2017/03/03/070123","blog_title":"teruuu\u306e\u30d6\u30ed\u30b0","title":"CentOS7\u3067\u30e6\u30fc\u30b6\u306e\u30b3\u30de\u30f3\u30c9\u306b\u5236\u9650\u3092\u304b\u3051\u308b","type":"rich","author_name":"steavevaivai","image_url":null,"version":"1.0","published":"2017-03-03 07:01:23","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsteavevaivai.hatenablog.com%2Fentry%2F2017%2F03%2F03%2F070123\" title=\"CentOS7\u3067\u30e6\u30fc\u30b6\u306e\u30b3\u30de\u30f3\u30c9\u306b\u5236\u9650\u3092\u304b\u3051\u308b - teruuu\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_url":"https://blog.hatena.ne.jp/steavevaivai/","width":"100%"}