/usr/share/nuauth/nuauth.d/nuauth_pgsql.conf is in nuauth 2.4.3-2.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #PGSql server address
pgsql_server_addr="127.0.0.1"
#PGsql server port
pgsql_server_port=5432
#PGsql User to login as
pgsql_user="myuser"
#PGsql password, associated with username
pgsql_passwd="secret"
#Whether to use SSL or not (THIS PARAMETER IS IGNORED FOR NOW)
pgsql_ssl="prefer"
#Name of PGsql database to connect to
pgsql_db_name="nufw"
#Name of table name to connect to. Must belong to the chosen database. Specified
#user must have rights on this table
pgsql_table_name="ulog"
#Name of table name for user sessions.
pgsql_users_table_name="users"
#Time in seconds we consider connection to the database to be lost if we have no
#answer
pgsql_request_timeout=5
|