basic_db_auth8
Usage
basic_db_auth [options]
Overview
This program verifies username & password to a database
Options
-
--debug -
Write debug info to stderr.
-
--dsn -
Database DSN. Default "DBI:mysql:database=squid"
-
--user -
Database User
-
--password -
Database password
-
--table -
Database table. Default "passwd".
-
--usercol -
Username column. Default "user".
-
--passwdcol -
Password column. Default "password".
-
--cond -
Condition, defaults to enabled=1. Specify 1 or "" for no condition If you use --joomla flag, this condition will be changed to block=0
-
--plaintext -
Database contains plain-text passwords
-
--md5 -
Database contains unsalted MD5 passwords
-
--sha1 -
Database contains unsalted SHA1 passwords
-
--salt -
Selects the correct salt to evaluate passwords
-
--persist -
Keep a persistent database connection open between queries.
-
--joomla -
Tells helper that user database is Joomla DB. So their unusual salt hashing is understood.
Questions
Questions on the usage of this program can be sent to the Squid Users mailing list <[email protected]>
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)
--cond since Debian 9 (Stretch);
--debug since Debian 9 (Stretch);
--dsn since Debian 9 (Stretch);
--joomla since Debian 9 (Stretch);
--md5 since Debian 9 (Stretch);
--passwdcol since Debian 9 (Stretch);
--password since Debian 9 (Stretch);
--persist since Debian 9 (Stretch);
--plaintext since Debian 9 (Stretch);
--salt since Debian 9 (Stretch);
--sha1 since Debian 10 (Buster);
--table since Debian 9 (Stretch);
--user since Debian 9 (Stretch);
--usercol since Debian 9 (Stretch).