{"Entry":{"collection":"auth","key":"bsd","name":"bsd","aliases":[],"metadata":{"aliases":[],"category":"Authentication and access control","content_hash":"024e486e876878a10b4d506d131feaa2109860f51d79e3ea3b934094bde92292","imported_at":"2026-09-30T00:40:33.257107+08:00","name":"bsd","name_zh":"","slug":"bsd","summary":"Authenticate using the BSD Authentication service provided by the operating system. See Section 20.13 for details."}},"Definition":{"Collection":"auth","Key":"bsd","SourceDatabase":"center","Version":"18","SourceTable":"authentication_method","SourceKey":"bsd","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"aliases":[],"attributes":{"configuration":"pg_hba.conf","inventory":"User-visible source authentication method","method":"bsd"},"comparison_data":{"documented_option_names":[],"method":"bsd"},"comparison_hash":"9fa1c920bb9b1464b8402056f0f4e9db56a7949baf852b69146b76b1432bc19b","description":["Authenticate using the BSD Authentication service provided by the operating system. See Section 20.14 for details."],"facts":[{"label":"Method","value":"bsd"},{"label":"Configuration","value":"pg_hba.conf"},{"label":"Inventory","value":"User-visible source authentication method"}],"manual_html":"\u003cdiv class=\"sect1\" id=\"AUTH-BSD\"\u003e\n\u003cdiv class=\"titlepage\"\u003e\n\u003cdiv\u003e\n\u003cdiv\u003e\n\u003ch2 class=\"title\"\u003e20.14. BSD Authentication \u003c/h2\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\u003cp\u003eThis authentication method operates similarly to \u003ccode class=\"literal\"\u003epassword\u003c/code\u003e except that it uses BSD Authentication to verify the password. BSD Authentication is used only to validate user name/password pairs. Therefore the user's role must already exist in the database before BSD Authentication can be used for authentication. The BSD Authentication framework is currently only available on OpenBSD.\u003c/p\u003e\n\u003cp\u003eBSD Authentication in \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e uses the \u003ccode class=\"literal\"\u003eauth-postgresql\u003c/code\u003e login type and authenticates with the \u003ccode class=\"literal\"\u003epostgresql\u003c/code\u003e login class if that's defined in \u003ccode class=\"filename\"\u003elogin.conf\u003c/code\u003e. By default that login class does not exist, and \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e will use the default login class.\u003c/p\u003e\n\u003cdiv class=\"note\"\u003e\n\u003ch3 class=\"title\"\u003eNote\u003c/h3\u003e\n\u003cp\u003eTo use BSD Authentication, the PostgreSQL user account (that is, the operating system user running the server) must first be added to the \u003ccode class=\"literal\"\u003eauth\u003c/code\u003e group. The \u003ccode class=\"literal\"\u003eauth\u003c/code\u003e group exists by default on OpenBSD systems.\u003c/p\u003e\n\u003c/div\u003e\n\u003c/div\u003e","manual_path":"/docs/18/auth-bsd.html","related":[],"release":{"catalog_fingerprint":"65c93d6048ef30e61023a84f9680fa6a92b1c383b7eb226741170077eb078502","channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[],"signature":"","sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual","path":"auth-bsd.html","sha256":"382b06ab28f5a2fe92981dde9e8b3dc145058d9cfff32dc6c57336d66605205b","url":"/docs/18/auth-bsd.html"},{"label":"PostgreSQL 18 English manual","path":"auth-pg-hba-conf.html","sha256":"6340d4abea2e0a3482afc31bcd1599a0fa10dc28a6f1e05d79ba831e2dd0b4c9","url":"/docs/18/auth-pg-hba-conf.html"}],"tables":[]},"ManualEvidence":{"manual_path":"/docs/18/auth-bsd.html","release":{"catalog_fingerprint":"65c93d6048ef30e61023a84f9680fa6a92b1c383b7eb226741170077eb078502","channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual","path":"auth-bsd.html","sha256":"382b06ab28f5a2fe92981dde9e8b3dc145058d9cfff32dc6c57336d66605205b","url":"/docs/18/auth-bsd.html"},{"label":"PostgreSQL 18 English manual","path":"auth-pg-hba-conf.html","sha256":"6340d4abea2e0a3482afc31bcd1599a0fa10dc28a6f1e05d79ba831e2dd0b4c9","url":"/docs/18/auth-pg-hba-conf.html"}]},"MeasuredEvidence":{}},"Text":{"Collection":"auth","Key":"bsd","SourceDatabase":"center","Version":"18","Locale":"en","Title":"bsd","Summary":"Authenticate using the BSD Authentication service provided by the operating system. See Section 20.14 for details.","BodyHTML":"\u003cdiv id=\"AUTH-BSD\"\u003e\n\u003cdiv\u003e\n\u003cdiv\u003e\n\u003cdiv\u003e\n\u003ch2\u003e20.14. BSD Authentication \u003c/h2\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\u003cp\u003eThis authentication method operates similarly to \u003ccode\u003epassword\u003c/code\u003e except that it uses BSD Authentication to verify the password. BSD Authentication is used only to validate user name/password pairs. Therefore the user\u0026#39;s role must already exist in the database before BSD Authentication can be used for authentication. The BSD Authentication framework is currently only available on OpenBSD.\u003c/p\u003e\n\u003cp\u003eBSD Authentication in \u003cspan\u003ePostgreSQL\u003c/span\u003e uses the \u003ccode\u003eauth-postgresql\u003c/code\u003e login type and authenticates with the \u003ccode\u003epostgresql\u003c/code\u003e login class if that\u0026#39;s defined in \u003ccode\u003elogin.conf\u003c/code\u003e. By default that login class does not exist, and \u003cspan\u003ePostgreSQL\u003c/span\u003e will use the default login class.\u003c/p\u003e\n\u003cdiv\u003e\n\u003ch3\u003eNote\u003c/h3\u003e\n\u003cp\u003eTo use BSD Authentication, the PostgreSQL user account (that is, the operating system user running the server) must first be added to the \u003ccode\u003eauth\u003c/code\u003e group. The \u003ccode\u003eauth\u003c/code\u003e group exists by default on OpenBSD systems.\u003c/p\u003e\n\u003c/div\u003e\n\u003c/div\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"6c968dcdb59d5acac670f2a380d224089d65f6fbb2a4963884017033bb5af700","Payload":{"description":["Authenticate using the BSD Authentication service provided by the operating system. See Section 20.14 for details."],"manual_html":"\u003cdiv class=\"sect1\" id=\"AUTH-BSD\"\u003e\n\u003cdiv class=\"titlepage\"\u003e\n\u003cdiv\u003e\n\u003cdiv\u003e\n\u003ch2 class=\"title\"\u003e20.14. BSD Authentication \u003c/h2\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\u003cp\u003eThis authentication method operates similarly to \u003ccode class=\"literal\"\u003epassword\u003c/code\u003e except that it uses BSD Authentication to verify the password. BSD Authentication is used only to validate user name/password pairs. Therefore the user's role must already exist in the database before BSD Authentication can be used for authentication. The BSD Authentication framework is currently only available on OpenBSD.\u003c/p\u003e\n\u003cp\u003eBSD Authentication in \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e uses the \u003ccode class=\"literal\"\u003eauth-postgresql\u003c/code\u003e login type and authenticates with the \u003ccode class=\"literal\"\u003epostgresql\u003c/code\u003e login class if that's defined in \u003ccode class=\"filename\"\u003elogin.conf\u003c/code\u003e. By default that login class does not exist, and \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e will use the default login class.\u003c/p\u003e\n\u003cdiv class=\"note\"\u003e\n\u003ch3 class=\"title\"\u003eNote\u003c/h3\u003e\n\u003cp\u003eTo use BSD Authentication, the PostgreSQL user account (that is, the operating system user running the server) must first be added to the \u003ccode class=\"literal\"\u003eauth\u003c/code\u003e group. The \u003ccode class=\"literal\"\u003eauth\u003c/code\u003e group exists by default on OpenBSD systems.\u003c/p\u003e\n\u003c/div\u003e\n\u003c/div\u003e","related":[],"sections":[],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["10","11","12","13","14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
