h3x.no

Tor Henning Ueland`s thoughts about technology and other stuff

Archive for July, 2009

Swine flu tracking in Norway

without comments

A former colleague has just created a new swine flu tracker for a quick overview of Norwegian cases. If you are interested you can check out http://h1n1.raymondjulin.com/ – Interesting for those of us that follows the outbreak.

Written by Tor Henning Ueland

July 26th, 2009 at 10:27 pm

Posted in News

Tagged with ,

How to reset MySQL root password

without comments

To reset the MySQL root password, do the following:

USE DATABASE mysql;
SET PASSWORD FOR root@localhost=PASSWORD(‘yournewpassword’);
FLUSH PRIVILEGES;

And voila! You have changed your password.

PS: If you have a “problem” with beeing able to login to MySQL without using password (even when it is set in MySQL), try to edit or delete ~/my.cnf, since that holds information used to avoid the login promt.

Written by Tor Henning Ueland

July 22nd, 2009 at 11:15 pm

Posted in MySQL

Tagged with , ,

(scam?) ” OpenSSH <= 5.2 zero day exploit code - 48 hours until it is publicly released”

without comments

Aparantly, somebody is willing to release a OpenSSH exploit in less than 48 hours. I hope (and guess) that it is a joke, but if not, the results can become “interesting”.

Read more @:

http://lists.grok.org.uk/pipermail/full-disclosure/2009-July/069752.html

Written by Tor Henning Ueland

July 20th, 2009 at 7:42 pm

Posted in Linux

Tagged with ,

Clear the Postfix mail queue

with one comment

If you for some reasont want to clear the Postfix mail queue, you could do a:

postsuper -d ALL

Or if you just want to remove deferred mail:

postsuper -d ALL deferred

Written by Tor Henning Ueland

July 7th, 2009 at 8:00 am

Posted in Linux

Tagged with ,

No gays in Iran(wut?)

without comments

Aparantly, there are no gays in Iran, a bit strange that some countries have simply non gay people…

Written by Tor Henning Ueland

July 5th, 2009 at 2:15 pm

Posted in Politics

Tagged with ,

Facepalm @ Google

without comments

Finally a good use for the color picker in Google images :)

http://images.google.no/images?q=Facepalm&gbv=2&hl=no&sa=G&imgcolor=black

Written by Tor Henning Ueland

July 5th, 2009 at 12:35 am

Posted in Uncategorized

Tagged with , , ,