File: cvm-pgsql.html

package info (click to toggle)
cvm 0.97-0.1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,036 kB
  • sloc: ansic: 4,065; sh: 2,758; makefile: 235; sql: 15
file content (46 lines) | stat: -rw-r--r-- 1,202 bytes parent folder | download | duplicates (8)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html>
<body>

<h2><a href="cvm.html">CVM</a></h2>
<h2><a href="sql.html">CVM SQL Framework</a></h2>

<h1>The cvm-pgsql Module</h1>

<h2>Synopsis:</h2> <p>PgSQL module</p>

<h2>Credentials:</h2>

<ol>
<li>Pass phrase
</ol>

<h2>Description:</h2>

<p>This module queries a PgSQL database for the account name, compares
the stored pass phrase with the given one using <tt>crypt</tt>.</p>

<h2>Configuration Variables:</h2>

<p>The server hostname, port, database, username, password, and
additional options can be controlled by setting <tt>$PGHOST</tt>,
<tt>$PGPORT</tt>, <tt>$PGDATABASE</tt>, <tt>$PGUSER</tt>,
<tt>$PGPASSWORD</tt>, and <tt>$PGOPTIONS</tt> respectively, which are
parsed by the PgSQL client library.</p>

<dl>

<dt><tt>$CVM_MYSQL_POSTQ</tt> (optional)</dt> <dd>The <a
href="sql.html">SQL</a> query to execute after the credentials have been
validated.</dd>

<dt><tt>$CVM_PGSQL_PWCMP</tt> (optional)</dt> <dd>The <a
href="../pwcmp/pwcmp.html">password comparison module</a> to use.</dd>

<dt><tt>$CVM_PGSQL_QUERY</tt> (optional)</dt> <dd>The <a
href="sql.html">SQL</a> query to issue to retrieve the row containing
the account information from the database.</dd>

</dl>

</body>
</html>