]> begriffs open source - ai-pg/blob - full-docs/txt/auth-bsd.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / auth-bsd.txt
1
2 20.14. BSD Authentication #
3
4    This authentication method operates similarly to password except that
5    it uses BSD Authentication to verify the password. BSD Authentication
6    is used only to validate user name/password pairs. Therefore the user's
7    role must already exist in the database before BSD Authentication can
8    be used for authentication. The BSD Authentication framework is
9    currently only available on OpenBSD.
10
11    BSD Authentication in PostgreSQL uses the auth-postgresql login type
12    and authenticates with the postgresql login class if that's defined in
13    login.conf. By default that login class does not exist, and PostgreSQL
14    will use the default login class.
15
16 Note
17
18    To use BSD Authentication, the PostgreSQL user account (that is, the
19    operating system user running the server) must first be added to the
20    auth group. The auth group exists by default on OpenBSD systems.