File: nss-pgsql-root.conf

package info (click to toggle)
libnss-pgsql 1.4.0debian-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,588 kB
  • ctags: 137
  • sloc: sh: 9,588; ansic: 983; xml: 392; makefile: 70; sql: 38
file content (9 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
# example configfile for PostgreSQL NSS module
# this file must be readable for root only

shadowconnectionstring = hostaddr=127.0.0.1 dbname=unix user=postgres connect_timeout=1

#Query in the following format
#shadow_name, shadow_passwd, shadow_lstchg, shadow_min, shadow_max, shadow_warn, shadow_inact, shadow_expire, shadow_flag
shadowbyname = SELECT * FROM shadow_table WHERE username = $1
shadow = SELECT * FROM shadow_table