mysql_history and passwords

In order to provide the up/down arrow command history, the mysql program stores anything you type in the file .mysql_history in your home directory. For most commands this is ok but what about grant statements?If you regularly use grant or update statements to add or modify users and passwords, then anyone with read access to the file .mysql_history can see the usernames and passwords required to gain access to your database.To avoid such security traps just use your favourite text editor and delete the offending lines from the file ~/.mysql_history.

In order to provide the up/down arrow command history, the mysql program stores anything you type in the file .mysql_history in your home directory. For most commands this is ok but what about grant statements?

If you regularly use grant or update statements to add or modify users and passwords, then anyone with read access to the file .mysql_history can see the usernames and passwords required to gain access to your database.

To avoid such security traps just use your favourite text editor and delete the offending lines from the file ~/.mysql_history. Do this each time you issue a grant or update statement containing a password and your site will be much more secure.

Technorati Tags: ,

Safari 1.3 shenanigans

It seems that the first time you run the newly installed Safari some standard bookmarks are created on your bookmark bar. These include bookmarks to news, .mac, apple.com, yahoo.com and a few others.This is bad form by Apple.

It just upgraded all my home macs to Mac OS X 10.3.9 which also includes a new version of Safari 1.3. It seems that the first time you run the newly installed Safari some standard bookmarks are created on your bookmark bar. These include bookmarks to news, .mac, apple.com, yahoo.com and a few others.

This is bad form by Apple. These standard bookmarks should only be created for a new installation and not for an existing one.

Technorati Tags: ,

Aris the Mac mini slayer

See my brother Aris overpower the Mac mini packaging with this masterful display of his Kung-Fu skills.Video was shot using a Sony Ericsson K700i mobile phone.Link to the video.

See my brother Aris overpower the Mac mini packaging with this masterful display of his Kung-Fu skills. Video was shot by Wing using a Sony Ericsson K700i mobile phone. The deed took place at our office just after the two Mac mini arrived from Apple Australia.

Link to the video. Requires Quicktime 6.5 or later