{"kind": "auth", "major": "18", "item": {"slug": "pam", "name": "pam", "name_zh": "", "category": "\u8eab\u4efd\u8ba4\u8bc1\u4e0e\u8bbf\u95ee\u63a7\u5236", "summary": "\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.13 \u8282\u3002", "aliases": [], "content_hash": "0550322b668d03d50f1a1e52972d6ffc3660f1fe60827115ba8baf6947ca87eb", "versions": {"10": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "10.23", "major": "10", "channel": "historical", "revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "source_sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "catalog_fingerprint": "691be281b476dde4374d7f805b2bacc2e75bdef40f1e9d3d42e91f97fe95cfd0"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, {"url": "https://pg.center/docs/10/auth-methods.html#AUTH-PAM", "path": "auth-methods.html", "label": "PostgreSQL 10 English manual", "sha256": "856d36a3fdfe8c45a25832e49bd07e9b7480f2ff9a33e58ac7c392630149bc34", "language": "en", "original_url": "/docs/10/auth-methods.html#AUTH-PAM"}, {"url": "https://pg.center/docs/10/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 10 English manual", "sha256": "04fed609a50e8fd3013ffebb83039c544d39b6c73a6c2b2e23cd7864a70b42da", "language": "en", "original_url": "/docs/10/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.3.10 \u8282\u3002"], "manual_html": "<div class=\"sect2\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h3 class=\"title\" lang=\"zh\"><span class=\"sect2\"><a href=\"/docs/10/auth-methods.html#AUTH-PAM\">20.3.10. PAM \u8ba4\u8bc1</a></span></h3>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u662f\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u4e3a <code class=\"literal\">postgresql</code>\u3002PAM \u4ec5\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d\u4e0e\u5bc6\u7801\u7684\u7ec4\u5408\uff0c\u4e5f\u53ef\u9009\u62e9\u9a8c\u8bc1\u8fde\u63a5\u7684\u8fdc\u7a0b\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5fc5\u987b\u5148\u5728\u6570\u636e\u5e93\u4e2d\u521b\u5efa\u8be5\u7528\u6237\uff0c\u624d\u80fd\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u3002\u6709\u5173 PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u53c2\u89c1 <a class=\"ulink\" href=\"http://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/10/auth-methods.html#AUTH-PAM", "localization": {"status": "complete", "sources": [{"url": "/docs/10/auth-methods.html", "method": "same-major semantic node", "sha256": "128b4f29cf06d6bde5b9e357daacb6d538044ee392e4aece0e31c90b0a37b647", "language": "zh", "matched_nodes": ["#AUTH-METHODS/div[12]/div[4]/dl[0]/dd[1]", "#AUTH-METHODS/div[12]/div[4]/dl[0]/dd[3]", "#AUTH-METHODS/div[12]/div[5]/p[1]", "#AUTH-METHODS/div[12]/p[2]", "#AUTH-METHODS/div[12]/p[3]", "#AUTH-METHODS/div[1]/dl[0]/dt[9]", "#AUTH-METHODS/div[7]/div[3]/h3[0]"]}], "language": "zh", "original_text": {"/versions/10/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 20.3.10 for details.", "/versions/10/facts/0/label": "Method", "/versions/10/facts/1/label": "Configuration", "/versions/10/facts/2/label": "Inventory", "/versions/10/facts/2/value": "User-visible source authentication method", "/versions/10/tables/0/title": "Documented method options and alternatives", "/versions/10/tables/0/columns/0/label": "Option or term", "/versions/10/tables/0/columns/1/label": "Meaning", "/versions/10/tables/0/rows/0/description": "PAM service name.", "/versions/10/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "186481ac5a0c84cc5653093eb7c705d95c82d6eb282a50929234bd18ce30c91a"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "11": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "11.22", "major": "11", "channel": "historical", "revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "source_sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "catalog_fingerprint": "8f21f4444b7f68923f4762af0eb7937fa2907026e91249483e79050de012c901"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, {"url": "https://pg.center/docs/11/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 11 English manual", "sha256": "4699f3844bb3b6beddec19f7307959c823d564edab59e0aa73310253e5286cd7", "language": "en", "original_url": "/docs/11/auth-pam.html"}, {"url": "https://pg.center/docs/11/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 11 English manual", "sha256": "5477c61a002171f5b4c462052d91231c405f39d89d825faf71e52fbae358eef7", "language": "en", "original_url": "/docs/11/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.13 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.13.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/11/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/11/auth-pam.html", "method": "same-major semantic node", "sha256": "b1d99d4bbb22a10cc312f5b51b85275ee39789c0b50d829c05c47c82cc410a5c", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}], "language": "zh", "original_text": {"/versions/11/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 20.13 for details.", "/versions/11/facts/0/label": "Method", "/versions/11/facts/1/label": "Configuration", "/versions/11/facts/2/label": "Inventory", "/versions/11/facts/2/value": "User-visible source authentication method", "/versions/11/tables/0/title": "Documented method options and alternatives", "/versions/11/tables/0/columns/0/label": "Option or term", "/versions/11/tables/0/columns/1/label": "Meaning", "/versions/11/tables/0/rows/0/description": "PAM service name.", "/versions/11/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "40667e30faff7b13f89208e1d71d1fe311d0a0415dc6d32c4765f6d34f8fd05b"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "12": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "12.22", "major": "12", "channel": "historical", "revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "source_sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "catalog_fingerprint": "9f857f4ee4875f9c7de6bfc9df4b757dec8b3a0bb88eadb519c7bd267bd56149"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, {"url": "https://pg.center/docs/12/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 12 English manual", "sha256": "06e22525f31c4224e6bf457c65950426ce0d5d986673cacb379bd5aacabfec78", "language": "en", "original_url": "/docs/12/auth-pam.html"}, {"url": "https://pg.center/docs/12/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 12 English manual", "sha256": "07e8cddcb38076c86dab95b72c4380a7a325f22401b5b7f9af5dd4931876f2cb", "language": "en", "original_url": "/docs/12/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.13 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.13.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/12/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/12/auth-pam.html", "method": "same-major semantic node", "sha256": "49b0737ee25db09622fa34ecdbbe3f132f07b739c0c33ce8bc2937bb058eec2b", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}], "language": "zh", "original_text": {"/versions/12/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 20.13 for details.", "/versions/12/facts/0/label": "Method", "/versions/12/facts/1/label": "Configuration", "/versions/12/facts/2/label": "Inventory", "/versions/12/facts/2/value": "User-visible source authentication method", "/versions/12/tables/0/title": "Documented method options and alternatives", "/versions/12/tables/0/columns/0/label": "Option or term", "/versions/12/tables/0/columns/1/label": "Meaning", "/versions/12/tables/0/rows/0/description": "PAM service name.", "/versions/12/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "c4e2f0b067a19d26ad09bb91f4fd042b52b21b1a4ff2ff694cfb99729156a29f"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "13": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "13.23", "major": "13", "channel": "historical", "revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "source_sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "catalog_fingerprint": "c7015c845255c9d721c547c8ab9ef37825d332588c9691d982e6906b7d571002"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, {"url": "https://pg.center/docs/13/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 13 English manual", "sha256": "cefb868a1bdbe727e7811134f967c483ef24c1a45f0ef678fafca981659f4ccd", "language": "en", "original_url": "/docs/13/auth-pam.html"}, {"url": "https://pg.center/docs/13/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 13 English manual", "sha256": "3cc6ce851945cba450e6b26ecf9cae1efd3c03fb7b55e17876f4d9ea418a7c2e", "language": "en", "original_url": "/docs/13/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.13 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.13.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/13/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/13/auth-pam.html", "method": "same-major semantic node", "sha256": "0458d8a2112d606f28b7a1cbac71fd14c0e74be62b4ddc869be31ecaf25a213b", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}], "language": "zh", "original_text": {"/versions/13/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 20.13 for details.", "/versions/13/facts/0/label": "Method", "/versions/13/facts/1/label": "Configuration", "/versions/13/facts/2/label": "Inventory", "/versions/13/facts/2/value": "User-visible source authentication method", "/versions/13/tables/0/title": "Documented method options and alternatives", "/versions/13/tables/0/columns/0/label": "Option or term", "/versions/13/tables/0/columns/1/label": "Meaning", "/versions/13/tables/0/rows/0/description": "PAM service name.", "/versions/13/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "6674aad50237d43e5a514ac6b6f8534f0da0aa64ef615b324c8a7a89b822ec24"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "14": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "14.24", "major": "14", "channel": "stable", "revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "source_sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "catalog_fingerprint": "b272e6a82e4c46efda81c3a6a4cdf7de6a83dfff7f02f226a392fbe9acdd3adb"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, {"url": "https://pg.center/docs/14/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 14 English manual", "sha256": "7049c58318701dc26567e24d487d9399d6b7190edd824e20efda5ba18eac70cf", "language": "en", "original_url": "/docs/14/auth-pam.html"}, {"url": "https://pg.center/docs/14/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 14 English manual", "sha256": "c9a75f04fd4a1069ea261ba061578a75c47a4b7e0bbf88761502fd4c19ccbc3f", "language": "en", "original_url": "/docs/14/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 21.13 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">21.13.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/14/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/14/auth-pam.html", "method": "same-major semantic node", "sha256": "985912dab95586884843eecec484fbf1e8dbe65d8ae2e2f6d0b48df7b6460c0a", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}], "language": "zh", "original_text": {"/versions/14/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 21.13 for details.", "/versions/14/facts/0/label": "Method", "/versions/14/facts/1/label": "Configuration", "/versions/14/facts/2/label": "Inventory", "/versions/14/facts/2/value": "User-visible source authentication method", "/versions/14/tables/0/title": "Documented method options and alternatives", "/versions/14/tables/0/columns/0/label": "Option or term", "/versions/14/tables/0/columns/1/label": "Meaning", "/versions/14/tables/0/rows/0/description": "PAM service name.", "/versions/14/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "382772e20a06e3a839b3f34ff11e189fdd96951feaf7b1a1cbdc65a385b43a01"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "15": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "15.19", "major": "15", "channel": "stable", "revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "source_sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "catalog_fingerprint": "fefe3c425147a86defada190c9b0663cfe02caa1724f5dede93e46457572252d"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, {"url": "https://pg.center/docs/15/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 15 English manual", "sha256": "39ab36fb316e8a1750ffb77e8bb895fe45ea2ee889cc745d21e8b1b97de6ada9", "language": "en", "original_url": "/docs/15/auth-pam.html"}, {"url": "https://pg.center/docs/15/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 15 English manual", "sha256": "0470cd3eeb82cbc32d4b8b79e29f4427bdfd01f5bb15e6d9b7cee2f6dd2bba44", "language": "en", "original_url": "/docs/15/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 21.13 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">21.13.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/15/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/15/auth-pam.html", "method": "same-major semantic node", "sha256": "7e697c2d02057f79e3b4d258f6faa4325547481f0349393b7379f882506b94f1", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}], "language": "zh", "original_text": {"/versions/15/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 21.13 for details.", "/versions/15/facts/0/label": "Method", "/versions/15/facts/1/label": "Configuration", "/versions/15/facts/2/label": "Inventory", "/versions/15/facts/2/value": "User-visible source authentication method", "/versions/15/tables/0/title": "Documented method options and alternatives", "/versions/15/tables/0/columns/0/label": "Option or term", "/versions/15/tables/0/columns/1/label": "Meaning", "/versions/15/tables/0/rows/0/description": "PAM service name.", "/versions/15/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "a14913ee6428994b7c055801f858b680c43260eabe5b88c18e479a5c242485a2"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "16": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "16.15", "major": "16", "channel": "stable", "revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "source_sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "catalog_fingerprint": "fa133458dc8f52e15083b4f59b7a582e2e378b608d3ac5c53054df458a374e23"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, {"url": "https://pg.center/docs/16/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 16 English manual", "sha256": "bbde6bf1671253771d9749d75590d9291beba57eab51c56a98ae77f3649964a9", "language": "en", "original_url": "/docs/16/auth-pam.html"}, {"url": "https://pg.center/docs/16/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 16 English manual", "sha256": "ccc5146375a184646d5992edbc693e12c0de4431a35141d6b56c8dd6b3c52132", "language": "en", "original_url": "/docs/16/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 21.13 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">21.13.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/16/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/16/auth-pam.html", "method": "same-major semantic node", "sha256": "1d86d6143058f4b8ce698023dc66ea91c9a1890d250a6072472b0f2ccf4e0c72", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 21.13 for details.", "/versions/16/facts/0/label": "Method", "/versions/16/facts/1/label": "Configuration", "/versions/16/facts/2/label": "Inventory", "/versions/16/facts/2/value": "User-visible source authentication method", "/versions/16/tables/0/title": "Documented method options and alternatives", "/versions/16/tables/0/columns/0/label": "Option or term", "/versions/16/tables/0/columns/1/label": "Meaning", "/versions/16/tables/0/rows/0/description": "PAM service name.", "/versions/16/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "5f6861f0a79eaf2ffbe360187b2c0fa6eabcb82a5212239d5e3c4929010168ff"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "17": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "17.11", "major": "17", "channel": "stable", "revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "source_sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "catalog_fingerprint": "4bbe3ac77becd618478f66aec420a533e9017be356c5c1d51a4b17f0fd497c07"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, {"url": "https://pg.center/docs/17/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 17 English manual", "sha256": "8c47f249a956294a371ea0ed80b4826dcc39cd0d326e0ab516ec6c5008bb1f16", "language": "en", "original_url": "/docs/17/auth-pam.html"}, {"url": "https://pg.center/docs/17/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 17 English manual", "sha256": "00c7a7c25d46aa1b2f24cd744cd4990ca4218cfafed2a4cab8c1dc1092090bba", "language": "en", "original_url": "/docs/17/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.13 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.13.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/17/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/17/auth-pam.html", "method": "same-major semantic node", "sha256": "9c00e055f4d0ad16d346c0133cf02c20d9da0271f89e40890b8285fc804d98db", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}], "language": "zh", "original_text": {"/versions/17/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 20.13 for details.", "/versions/17/facts/0/label": "Method", "/versions/17/facts/1/label": "Configuration", "/versions/17/facts/2/label": "Inventory", "/versions/17/facts/2/value": "User-visible source authentication method", "/versions/17/tables/0/title": "Documented method options and alternatives", "/versions/17/tables/0/columns/0/label": "Option or term", "/versions/17/tables/0/columns/1/label": "Meaning", "/versions/17/tables/0/rows/0/description": "PAM service name.", "/versions/17/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "d895c63636dcdf36461bfc9e7025b2eff83bbff9052433de93045baa267b3c2f"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "18": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "catalog_fingerprint": "65c93d6048ef30e61023a84f9680fa6a92b1c383b7eb226741170077eb078502"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "https://pg.center/docs/18/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 18 English manual", "sha256": "e3d0a0d5ecb652f5534d7f62574b323d77436acd258b10a17a359873c1edf8d8", "language": "en", "original_url": "/docs/18/auth-pam.html"}, {"url": "https://pg.center/docs/18/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 18 English manual", "sha256": "6340d4abea2e0a3482afc31bcd1599a0fa10dc28a6f1e05d79ba831e2dd0b4c9", "language": "en", "original_url": "/docs/18/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.13 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.13.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/18/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/18/auth-pam.html", "method": "same-major semantic node", "sha256": "6dc98f9436b66c4da1ca642e4c3291651124d71a59aaaec0285f8e01c9eabf03", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 20.13 for details.", "/versions/18/facts/0/label": "Method", "/versions/18/facts/1/label": "Configuration", "/versions/18/facts/2/label": "Inventory", "/versions/18/facts/2/value": "User-visible source authentication method", "/versions/18/tables/0/title": "Documented method options and alternatives", "/versions/18/tables/0/columns/0/label": "Option or term", "/versions/18/tables/0/columns/1/label": "Meaning", "/versions/18/tables/0/rows/0/description": "PAM service name.", "/versions/18/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "2cf550477c610d91c5865f0f5281799cd2599b3963e43a361673793ef37de8e3"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "19": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86", "source_sha256": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86", "catalog_fingerprint": "62fbf1a3689dbe8bf7e6b3372cfe6fbf867581427b3858a94c8419b77a4d2d1d"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, {"url": "https://pg.center/docs/19/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 19 English manual", "sha256": "0b7b7f6fad787ed02a3ff88dbe02e3a0ad6ca6bb0082a40bcb23d32ed165d84f", "language": "en", "original_url": "/docs/19/auth-pam.html"}, {"url": "https://pg.center/docs/19/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 19 English manual", "sha256": "d05e9155d5388148c2c680ff208b62c6b3b0b1c30f302ada5ab4befec36c19b7", "language": "en", "original_url": "/docs/19/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u89c1 \u7b2c 20.12 \u8282 \u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.12.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/19/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/19/auth-pam.html", "method": "same-major semantic node", "sha256": "995bf7a52659a5dd94173413987087fc94583e643faca4a655ecd42bff0ac3cc", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}, {"url": "/docs/19/auth-pg-hba-conf.html", "method": "same-major semantic node", "sha256": "d25996d70bdcb8468c9e6b39f85df1a49ff773d4c13ae599c1da28d9e627d190", "language": "zh", "matched_nodes": ["#AUTH-PG-HBA-CONF/div[12]/dl[0]/dd[21]/div[1]/dl[0]/dd[23]"]}], "language": "zh", "original_text": {"/versions/19/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 20.12 for details.", "/versions/19/facts/0/label": "Method", "/versions/19/facts/1/label": "Configuration", "/versions/19/facts/2/label": "Inventory", "/versions/19/facts/2/value": "User-visible source authentication method", "/versions/19/tables/0/title": "Documented method options and alternatives", "/versions/19/tables/0/columns/0/label": "Option or term", "/versions/19/tables/0/columns/1/label": "Meaning", "/versions/19/tables/0/rows/0/description": "PAM service name.", "/versions/19/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "5d3ae0361d98b41e779bd121fe40d6b061e1aab52592a80c4eff07ad7dd07eb6"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "20": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41", "source_sha256": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41", "catalog_fingerprint": "398fbb9f262264053c02fbf79f88be0a6770c1473faa6ecd5931d6ec41b8258b", "source_snapshot_utc": "26-Sep-2026 20:22"}, "sources": [{"url": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, {"url": "https://pg.center/docs/devel/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 20 English manual", "sha256": "353faa962be969ab84b21f18363e636308553bcbec7f512959fc34aa0260c6da", "language": "en", "original_url": "/docs/devel/auth-pam.html"}, {"url": "https://pg.center/docs/devel/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 20 English manual", "sha256": "cf2069461da3eec62f6fb4e3df8e46fd69ff4b3a2ad059eec355cee256d7996e", "language": "en", "original_url": "/docs/devel/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u89c1 \u7b2c 20.12 \u8282 \u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.12.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/devel/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/devel/auth-pam.html", "method": "same-major semantic node", "sha256": "f73f32a7201fd6139acb36f9ac806ab440a6aa05e9a9df6a689e66ea0d1d8949", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}, {"url": "/docs/devel/auth-pg-hba-conf.html", "method": "same-major semantic node", "sha256": "118eb69861b21d69aaab6c18fe17f8af8058c5ceb3b247bc80cbe2087c81eb01", "language": "zh", "matched_nodes": ["#AUTH-PG-HBA-CONF/div[12]/dl[0]/dd[21]/div[1]/dl[0]/dd[23]"]}], "language": "zh", "original_text": {"/summary": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 20.12 for details.", "/category": "Authentication and access control", "/versions/20/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 20.12 for details.", "/versions/20/facts/0/label": "Method", "/versions/20/facts/1/label": "Configuration", "/versions/20/facts/2/label": "Inventory", "/versions/20/facts/2/value": "User-visible source authentication method", "/versions/20/tables/0/title": "Documented method options and alternatives", "/versions/20/tables/0/columns/0/label": "Option or term", "/versions/20/tables/0/columns/1/label": "Meaning", "/versions/20/tables/0/rows/0/description": "PAM service name.", "/versions/20/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "d50fdee89bfef8e6748c84e573c181ddc0e6ce40930411ca4dd6410266a935c2"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}}}, "snapshot": {"facts": [{"label": "\u65b9\u6cd5", "value": "pam"}, {"label": "\u914d\u7f6e", "value": "pg_hba.conf"}, {"label": "\u6e05\u5355", "value": "\u7528\u6237\u53ef\u89c1\u7684\u6e90\u7801\u8ba4\u8bc1\u65b9\u6cd5"}], "tables": [{"key": "method-options", "rows": [{"name": "pamservice", "description": "PAM \u670d\u52a1\u540d\u79f0\u3002"}, {"name": "pam_use_hostname", "description": "\u51b3\u5b9a\u662f\u901a\u8fc7 PAM_RHOST \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09"}], "title": "\u624b\u518c\u4e2d\u7684\u65b9\u6cd5\u9009\u9879\u4e0e\u66ff\u4ee3\u65b9\u5f0f", "columns": [{"key": "name", "label": "\u9009\u9879\u6216\u672f\u8bed"}, {"key": "description", "label": "\u542b\u4e49"}]}], "aliases": [], "related": [], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "catalog_fingerprint": "65c93d6048ef30e61023a84f9680fa6a92b1c383b7eb226741170077eb078502"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "https://pg.center/docs/18/auth-pam.html", "path": "auth-pam.html", "label": "PostgreSQL 18 English manual", "sha256": "e3d0a0d5ecb652f5534d7f62574b323d77436acd258b10a17a359873c1edf8d8", "language": "en", "original_url": "/docs/18/auth-pam.html"}, {"url": "https://pg.center/docs/18/auth-pg-hba-conf.html", "path": "auth-pg-hba-conf.html", "label": "PostgreSQL 18 English manual", "sha256": "6340d4abea2e0a3482afc31bcd1599a0fa10dc28a6f1e05d79ba831e2dd0b4c9", "language": "en", "original_url": "/docs/18/auth-pg-hba-conf.html"}], "sections": [], "signature": "", "attributes": {"method": "pam", "inventory": "User-visible source authentication method", "configuration": "pg_hba.conf"}, "description": ["\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff08PAM\uff09\u670d\u52a1\u8fdb\u884c\u8ba4\u8bc1\u3002\u8be6\u60c5\u53c2\u89c1\u7b2c 20.13 \u8282\u3002"], "manual_html": "<div class=\"sect1\" id=\"AUTH-PAM\">\n<div class=\"titlepage\">\n<div>\n<div>\n<h2 class=\"title\" lang=\"zh\">\n<div>\n<div>\n<h2 class=\"title\" style=\"clear: both\">20.13.\u00a0PAM \u8ba4\u8bc1 </h2>\n</div>\n</div>\n</h2>\n</div>\n</div>\n</div>\n<p lang=\"zh\">\u8fd9\u79cd\u8ba4\u8bc1\u65b9\u6cd5\u7684\u5de5\u4f5c\u65b9\u5f0f\u4e0e <code class=\"literal\">password</code> \u7c7b\u4f3c\uff0c\u53ea\u4e0d\u8fc7\u5b83\u4f7f\u7528 PAM\uff08\u53ef\u63d2\u62d4\u8ba4\u8bc1\u6a21\u5757\uff09\u4f5c\u4e3a\u8ba4\u8bc1\u673a\u5236\u3002\u9ed8\u8ba4\u7684 PAM \u670d\u52a1\u540d\u662f <code class=\"literal\">postgresql</code>\u3002PAM \u53ea\u7528\u4e8e\u9a8c\u8bc1\u7528\u6237\u540d/\u5bc6\u7801\u5bf9\uff0c\u4ee5\u53ca\u53ef\u9009\u5730\u9a8c\u8bc1\u5df2\u8fde\u63a5\u8fdc\u7a0b\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216 IP \u5730\u5740\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528 PAM \u8fdb\u884c\u8ba4\u8bc1\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u5df2\u7ecf\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002\u5173\u4e8e PAM \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u9605\u8bfb <a class=\"ulink\" href=\"https://www.kernel.org/pub/linux/libs/pam/\" target=\"_top\"><span class=\"productname\">Linux-PAM</span> \u9875\u9762</a>\u3002</p>\n<p lang=\"zh\">PAM \u652f\u6301\u4e0b\u5217\u914d\u7f6e\u9009\u9879\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">pamservice</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>PAM \u670d\u52a1\u540d\u79f0\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">pam_use_hostname</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u51b3\u5b9a\u662f\u901a\u8fc7 <code class=\"symbol\">PAM_RHOST</code> \u9879\u5411 PAM \u6a21\u5757\u63d0\u4f9b\u8fdc\u7a0b IP \u5730\u5740\u8fd8\u662f\u4e3b\u673a\u540d\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528 IP \u5730\u5740\u3002\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a 1 \u53ef\u6539\u4e3a\u4f7f\u7528\u89e3\u6790\u51fa\u7684\u4e3b\u673a\u540d\u3002\u4e3b\u673a\u540d\u89e3\u6790\u53ef\u80fd\u5bfc\u81f4\u767b\u5f55\u5ef6\u8fdf\u3002\uff08\u5927\u591a\u6570 PAM \u914d\u7f6e\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fd9\u9879\u4fe1\u606f\uff0c\u56e0\u6b64\u53ea\u6709\u5728 PAM \u914d\u7f6e\u88ab\u4e13\u95e8\u8bbe\u8ba1\u4e3a\u5229\u7528\u8be5\u4fe1\u606f\u65f6\uff0c\u624d\u9700\u8981\u8003\u8651\u8fd9\u4e2a\u8bbe\u7f6e\u3002\uff09</p>\n</p>\n</dd>\n</dl>\n</div>\n<div class=\"note\">\n<h3 class=\"title\" lang=\"zh\">\u6ce8\u610f</h3>\n<p lang=\"zh\">\u5982\u679c PAM \u88ab\u8bbe\u7f6e\u4e3a\u8bfb\u53d6 <code class=\"filename\">/etc/shadow</code>\uff0c\u8ba4\u8bc1\u5c06\u4f1a\u5931\u8d25\uff0c\u56e0\u4e3a PostgreSQL \u670d\u52a1\u5668\u662f\u7531\u975e root \u7528\u6237\u542f\u52a8\u7684\u3002\u4e0d\u8fc7\uff0c\u5f53 PAM \u88ab\u914d\u7f6e\u4e3a\u4f7f\u7528 LDAP \u6216\u5176\u4ed6\u8ba4\u8bc1\u65b9\u6cd5\u65f6\uff0c\u8fd9\u5c31\u4e0d\u662f\u95ee\u9898\u3002</p>\n</div>\n</div>", "manual_path": "/docs/18/auth-pam.html", "localization": {"status": "complete", "sources": [{"url": "/docs/18/auth-pam.html", "method": "same-major semantic node", "sha256": "6dc98f9436b66c4da1ca642e4c3291651124d71a59aaaec0285f8e01c9eabf03", "language": "zh", "matched_nodes": ["#AUTH-PAM/div[0]", "#AUTH-PAM/div[4]/dl[0]/dd[1]", "#AUTH-PAM/div[4]/dl[0]/dd[3]", "#AUTH-PAM/div[5]/h3[0]", "#AUTH-PAM/div[5]/p[1]", "#AUTH-PAM/p[2]", "#AUTH-PAM/p[3]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "Authenticate using the Pluggable Authentication Modules (PAM) service provided by the operating system. See Section 20.13 for details.", "/versions/18/facts/0/label": "Method", "/versions/18/facts/1/label": "Configuration", "/versions/18/facts/2/label": "Inventory", "/versions/18/facts/2/value": "User-visible source authentication method", "/versions/18/tables/0/title": "Documented method options and alternatives", "/versions/18/tables/0/columns/0/label": "Option or term", "/versions/18/tables/0/columns/1/label": "Meaning", "/versions/18/tables/0/rows/0/description": "PAM service name.", "/versions/18/tables/0/rows/1/description": "Determines whether the remote IP address or the host name is provided to PAM modules through the PAM_RHOST item. By default, the IP address is used. Set this option to 1 to use the resolved host name instead. Host name resolution can lead to login delays. (Most PAM configurations don't use this information, so it is only necessary to consider this setting if a PAM configuration was specifically created to make use of it.)"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "2cf550477c610d91c5865f0f5281799cd2599b3963e43a361673793ef37de8e3"}, "comparison_data": {"method": "pam", "documented_option_names": ["pam_use_hostname", "pamservice"]}, "comparison_hash": "e720d3348388b2db8e8cd0a06e3817320e147ff161d803b608628c9973d28741", "manual_language": "zh"}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}