[Pkg-nagios-devel] Bug#677844: Bug#677844: icinga-web: postinst fails to set root passwd - MYSQL_PWD env var not working
Markus Frosch
markus at lazyfrosch.de
Sun Jun 17 12:09:47 UTC 2012
tags 677844 unreproducible moreinfo
thanks
Hello Tom,
thanks for your report.
The password previously stored in $MYSQL_PWD is not working.
>
I'm afraid I can't confirm the problem with my sid VM, MySQL is the same
version as yours.
Is it possible to share the output of the postinst script, what exactly is
the error?
Do you have any mysql connection info defined via .my.cnf or the global
my.cnf?
Are there any special chars in your password that might cause the problem?
echo "UPDATE nsm_user SET user_password='""$pwhash_e""', user_salt =
> '""$salt_e""' WHERE user_name = 'root';" \
> | mysql -h "${dbc_dbhost:=localhost}" -u "$dbc_dbuser"
> -p$dbc_dbpass "$dbc_dbname"
>
I'd not like to use this due to the root password will be visible via ps or
the /proc filesystem...
Please see
http://dev.mysql.com/doc/refman/5.5/en/password-security-user.html
Best Regards
Markus Frosch
--
Markus Frosch
markus at lazyfrosch.de
http://www.lazyfrosch.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20120617/8125f745/attachment.html>
More information about the Pkg-nagios-devel
mailing list