{"published":"2011-12-04 00:00:00","blog_title":"labunix \u306e \u30e9\u30dc\u3086\u306b\u3063\u304f\u3059","categories":[],"type":"rich","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","title":"Debian Lenny\u306epsql\u306b\u73fe\u5728\u306e\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u308b\u3088\u3046\u306b\u3059","version":"1.0","blog_url":"https://labunix.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flabunix.hatenadiary.org%2Fentry%2F20111204\" title=\"Debian Lenny\u306epsql\u306b\u73fe\u5728\u306e\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u308b\u3088\u3046\u306b\u3059 - labunix \u306e \u30e9\u30dc\u3086\u306b\u3063\u304f\u3059\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"labunix","description":"\u25a0\u73fe\u5728\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u304b\u3089psql\u3092postgres\u30e6\u30fc\u30b6\u3068\u3057\u3066\u8d77\u52d5\u3059\u308b $ su postgres -c 'psql' \u25a0\u73fe\u5728\u306e\u30e6\u30fc\u30b6\u304b\u3089\u76f4\u63a5\u3060\u3068\u30c0\u30e1\u3002 $ psql postgres -W Password for user postgres: psql: FATAL: Ident authentication failed for user \"postgres\" \u25a0\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u306fpostgres\u3067\u826f\u3044\u306e\u3060\u304c\u3001 \u305d\u306e\u4ed6\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u304c\u300cident sameuser\u300d\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001 \u30ed\u30b0\u30a4\u30f3\u30b7\u30a7\u30eb=psql\u306e\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308b $ sudo grep -B 1 id\u2026","author_url":"https://blog.hatena.ne.jp/labunix/","height":"190","url":"https://labunix.hatenadiary.org/entry/20111204","width":"100%","image_url":null}