Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

basic_db_auth(1) [centos man page]

BASIC_DB_AUTH(1)					User Contributed Perl Documentation					  BASIC_DB_AUTH(1)

NAME
basic_db_auth - Database auth helper for Squid SYNOPSIS
basic_db_auth [options] DESCRIPTOIN
This program verifies username & password to a database --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 --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. COPYRIGHT
Copyright (C) 2007 Henrik Nordstrom <henrik@henriknordstrom.net> Copyright (C) 2010 Luis Daniel Lucio Quiroz <dlucio@okay.com.mx> (Joomla support) This program is free software. You may redistribute copies of it under the terms of the GNU General Public License version 2, or (at youropinion) any later version. perl v5.16.3 2014-06-09 BASIC_DB_AUTH(1)

Check Out this Related Man Page

MySQL::Diff::Database(3pm)				User Contributed Perl Documentation				MySQL::Diff::Database(3pm)

NAME
MySQL::Diff::Database - Database Definition Class SYNOPSIS
use MySQL::Diff::Database; my $db = MySQL::Diff::Database->new(%options); my $source = $db->source_type(); my $summary = $db->summary(); my $name = $db->name(); my @tables = $db->tables(); my $table_def = $db->table_by_name($table); my @dbs = MySQL::Diff::Database::available_dbs(); DESCRIPTION
Parses a database definition into component parts. METHODS
Constructor new( %options ) Instantiate the objects, providing the command line options for database access and process requirements. Public Methods o source_type() Returns 'file' if the data source is a text file, and 'db' if connected directly to a database. o summary() Provides a summary of the database. o name() Returns the name of the database. o tables() Returns a list of tables for the current database. o table_by_name( $name ) Returns the table definition (see MySQL::Diff::Table) for the given table. FUNCTIONS
Public Functions o available_dbs() Returns a list of the available databases. Note that is used as a function call, not a method call. COPYRIGHT AND LICENSE
Copyright (c) 2000-2011 Adam Spiers. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
mysqldiff, MySQL::Diff, MySQL::Diff::Table, MySQL::Diff::Utils AUTHOR
Adam Spiers <mysqldiff@adamspiers.org> perl v5.14.2 2012-04-06 MySQL::Diff::Database(3pm)
Man Page

14 More Discussions You Might Find Interesting

1. AIX

Database version

How possible to know the version of database is there command to close this issue? (1 Reply)
Discussion started by: magasem
1 Replies

2. Shell Programming and Scripting

How to handle the Multiple Rows in the Database

Hi All, I have problem with database validations, actually my requirement is, my code will generate some seqno;s, which i have to check in database, whether the generated seqno;s are present in database or not, if the generated seqno;s are present in the database means, i need to generate... (2 Replies)
Discussion started by: hsekol
2 Replies

3. Shell Programming and Scripting

Perl Database access

Hi, I tried to run this code but it isnt giving me any output or errors. My aim is to retrieve the row based on the flag name(this is the primary key). flag_test is my table This is how i ran it: perl read_db.pl flag1 flag1 is the criteria in where clause -------- this is my... (2 Replies)
Discussion started by: mercuryshipzz
2 Replies

4. UNIX and Linux Applications

Take all db dump with username and passowrd

Hi All I have mysql server,That have many Database with different username and password for each,How can i dump all database collectively,And then restore to an other mysql db sever . (1 Reply)
Discussion started by: aliahsan81
1 Replies

5. Infrastructure Monitoring

Database table and Shared mem Sync issues

Hi, I wanted ideas on how to achieve this efficiently using C++ concept:- I have a DB table that contains rows of endpoints (say IDs vs names). There is process say "A" that calls another process B's API to increment counters if an operation is performed by an endpoint. DB table:- ID ... (3 Replies)
Discussion started by: trendzy2010
3 Replies

6. Programming

Database table and Shared mem Sync issues

(3 Replies)
Discussion started by: trendzy2010
3 Replies

7. Shell Programming and Scripting

How to validate Database password in ksh?

Hi All, I want to validate the Production Database password at the time of login through script. If incorrect password entererd by the user, the script will ask again for the password. Below is the sample of my script... ######################### # Unix Code Starts here #... (6 Replies)
Discussion started by: saps19
6 Replies

8. Shell Programming and Scripting

Database is down

How to find out whether your database is down or not? Could anyone provide me the command please.. Thanks C (6 Replies)
Discussion started by: bobby1015
6 Replies

9. Programming

Help in Database Procedure returns value

We have a database procedure that returns a value by reference. This is how it is used in ABF: h_status = pr_get_passphrase (h_passphrase = BYREF(:gv_passphrase)); Is it possible to do the same in PHP? (1 Reply)
Discussion started by: AimyThomas
1 Replies

10. Shell Programming and Scripting

How to display when nth line match a pattern?

Hi All, I have sample of listing as following Database 2 entry: Database alias = PXRES Database name = PXRES Local database directory = /db2/data1/db2phnx Database release level = d.00 Comment ... (3 Replies)
Discussion started by: ckwan
3 Replies

11. AIX

How to deal with Tar error ?

Hello Folks, while making a tar file, got this error root@clodb:/clodbvg>/opt/freeware/bin/tar cvf - /oradata | gzip > /clodbvg/bkp_30MAY16.tgz /opt/freeware/bin/tar: Removing leading `/' from member names /oradata/ /oradata/JAVA/ /oradata/JAVA/.toc /oradata/JAVA/Java131.rte... (16 Replies)
Discussion started by: filosophizer
16 Replies

12. Shell Programming and Scripting

Read Lines from One file.. and create another.. and

Hello Members, I have one file which contains million of supplier code. I need to load these codes into database 1000 at a time. Database procedure reads from an external table which is based on the unix files. All I want to do is to read from the bigger file e.g. MAIN_FILE.txt and create... (1 Reply)
Discussion started by: chetanojha
1 Replies

13. Cybersecurity

Wordpress and Joomla hash and salt

I would like to know where the hash and salt are in Wordpress and Joomla hashes? For example: In this wordpress hash P$BTBCNLQpY5CWWQ6XC4WJ6IPJQ877s3 where the salt is? In this Joomla hash $2y$10$io60pn4npWCRWwg4308pB.4rLmfz.vFwzxzYmX6W48Ff7wTi7ZEMO where the salt is? For example (source... (1 Reply)
Discussion started by: freeroute
1 Replies

14. Shell Programming and Scripting

Execute a Command in a .Dat File and use it in other Files

We have a process where we store the database password in a config file like below from where the password is picked up and used in Database Scripts ID, Password But we now have a Audit Requirement not to have the passwords in Config Files directly. We have a command which could fetch the... (2 Replies)
Discussion started by: infernalhell
2 Replies