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 variable account contains the account name 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.
Default Query: SELECT password, username, userid, groupid, directory, realname, shell, groupname, sys_username, sys_directory FROM accounts WHERE username=$account