Unix and Linux Discussions Tagged with sql |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
64,925 |
Shell Programming and Scripting |
|
|
|
1 |
11,642 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
3,190 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
7,184 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
11,774 |
Shell Programming and Scripting |
|
|
|
8 |
7,619 |
Shell Programming and Scripting |
|
|
|
3 |
1,770 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
7,085 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,812 |
Programming |
|
|
|
3 |
3,987 |
Programming |
|
|
|
2 |
2,072 |
Shell Programming and Scripting |
|
|
|
1 |
5,410 |
Shell Programming and Scripting |
|
|
|
0 |
1,852 |
Shell Programming and Scripting |
|
|
|
2 |
76,302 |
Programming |
|
|
|
8 |
5,507 |
Shell Programming and Scripting |
|
|
|
5 |
3,351 |
Programming |
|
|
|
3 |
1,418 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,592 |
UNIX and Linux Applications |
|
|
|
10 |
9,800 |
Shell Programming and Scripting |
|
|
|
2 |
26,085 |
Shell Programming and Scripting |
|
|
|
2 |
3,781 |
Programming |
|
|
|
20 |
12,294 |
Shell Programming and Scripting |
|
|
|
4 |
4,962 |
Shell Programming and Scripting |
|
|
|
5 |
5,891 |
Shell Programming and Scripting |
|
|
|
2 |
8,430 |
Shell Programming and Scripting |
|
|
|
2 |
14,603 |
Shell Programming and Scripting |
|
|
|
3 |
1,946 |
Shell Programming and Scripting |
|
|
|
3 |
10,130 |
Shell Programming and Scripting |
|
|
|
7 |
47,365 |
Shell Programming and Scripting |
|
|
|
4 |
2,527 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,407 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,934 |
Programming |
|
|
|
3 |
1,370 |
Programming |
|
|
|
4 |
3,536 |
Shell Programming and Scripting |
|
|
|
2 |
3,709 |
Shell Programming and Scripting |
|
|
|
8 |
4,764 |
Shell Programming and Scripting |
|
|
|
1 |
4,911 |
Shell Programming and Scripting |
|
|
|
3 |
20,782 |
Shell Programming and Scripting |
|
|
|
6 |
3,028 |
Shell Programming and Scripting |
|
|
|
0 |
2,040 |
Programming |
cvm-sql(7) Miscellaneous Information Manual cvm-sql(7)
NAME
cvm-sql - CVM SQL Framework
QUERY SUBSTITUTION
$VAR and ${VAR} are replaced with the quoted value of the environment variable named VAR. Use the second form when VAR contains anything
other than alpha-numeric or underscore (_) characters. Do not include quotes in the query. The variables account and domain contain the
account and domain names given by the CVM client. $$ is replaced with a single dollar sign.
QUERY RESULTS
The query must produce the following fields exactly in order. All required fields must not be null or empty.
1. Password, encrypted with crypt(3) (required)
2. Actual account name (required)
3. User ID (integer) (required)
4. Group ID (integer) (required)
5. Directory (required)
6. Real name (optional)
7. Login shell (optional)
8. Group name (optional)
9. Domain name (optional)
10. System account name (optional)
11. System account directory (optional)
12. Mailbox path (optional)
DEFAULT QUERY
SELECT password, username, userid, groupid, directory, realname, shell, groupname, domain, sys_username, sys_directory FROM accounts WHERE
username=$account AND domain=$domain
SEE ALSO
cvm-mysql(8), cvm-pgsql(8), cvm-pwfile(8), cvm-qmail(8), cvm-unix(8), cvm-vmailmgr(8), cvm-benchclient(8), cvm-checkpassword(8), cvm-test-
client(8)
http://untroubled.org/cvm/cvm.html
cvm-sql(7)