Hello

On Mon, Nov 28, 2005 at 08:19:23PM +0100, Manu Benoît wrote:
> Package: wwwconfig-common
> Version: 0.0.43
> 
> wwwconfig will not be able to connect to a MySQL server if the root password 
> contains a quote.
> 
> The problem comes from line 37 in /usr/share/wwwconfig-common/mysql.get :
> 
>     passopt="--password='$dbadmpass'"
> 
> It can be fixed by replacing this line with:
> 
>     passopt="--password='"`echo "$dbadmpass" | sed -e "s/'/'"'"'"'"'"'"'/"`"'"

There are more caracters that are a problem...
I can understand this line in principle but how do this help really?

Regards,

// Ola

> -- 
> *** Manu Benoît (TSeeker) * Forbidden once and bound to die  *
> ** [EMAIL PROTECTED] * The thread of life lies severed **
> * OpenPGP key: 0x591BF2C2 *     On the brink of paradise   ***
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to