{"type":"rich","version":"1.0","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2017%2F05%2F31%2F113000\" title=\"ruby\u3067\u5b9f\u884c\u4e2d\u306e\u30e6\u30fc\u30b6\u30fc\u540d(id)\u3092\u53d6\u5f97\u3057\u305f\u3044 - \u305d\u308c\u30de\u30b0\u3067\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://takuya-1st.hatenablog.jp/","image_url":null,"author_url":"https://blog.hatena.ne.jp/takuya_1st/","width":"100%","blog_title":"\u305d\u308c\u30de\u30b0\u3067\uff01","categories":["ruby"],"height":"190","author_name":"takuya_1st","published":"2017-05-31 11:30:00","provider_name":"Hatena Blog","description":"ruby \u3067\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u305f\u306e\u306f\u8ab0\uff1f \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u30e6\u30fc\u30b6\u30fc\u3092\u77e5\u308a\u305f\u3044\u3002root\u4ee5\u5916\u3067\u52d5\u304b\u3055\u308c\u308b\u3068\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u304c\u3042\u3068\u3067\u9762\u5012\u306a\u306e\u3067\u3001root \u4ee5\u5916\u304c\u8d77\u52d5\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u62d2\u5426\u3057\u305f\u3044\u3063\u3066\u3053\u3068\u304c\u3001\u308f\u308a\u3068\u3042\u308b\u308f\u3051\u3067\u3002 \u5b9f\u884c\u30e6\u30fc\u30b6\u30fcID\u3092\u77e5\u308b\u306b\u306f Process.euid #=> root \u306e\u5834\u54080 Process.uid #=> root \u306e\u5834\u54080 \u5b9f\u884c\u4e2d\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u53d6\u308b\u306b\u306f \u30b7\u30a7\u30eb\u7d4c\u7531\u306a\u3089 ENV \u4f7f\u3048\u308b\u308f ENV['USER'] #=> root \u53c2\u8003\u8cc7\u6599 ruby-doc-ja","url":"https://takuya-1st.hatenablog.jp/entry/2017/05/31/113000","title":"ruby\u3067\u5b9f\u884c\u4e2d\u306e\u30e6\u30fc\u30b6\u30fc\u540d(id)\u3092\u53d6\u5f97\u3057\u305f\u3044"}