Header Shadow Image


change mysql password for root when lost or forgot

To change your mysql password for any user, use the following procedure, in case the password is lost or forgotten.  For this post, we'll be changing it for the root user.  

TcL and autoexpect: The Art of Automated Access / Login: Linux

Now, arguably, the art of auto login and automated access may be frowned upon if not done securely but the concept of doing so is in itself something of a could-it-be done question that can simply be too tempting not to answer.  Long time ago I decided if beyond the easy approach to this using […]

Linux: VNC Connections or the equivalent of Remote Desktop Connection (RDC) in Windows

VNC or the Linux equivalent of Remote Desktop Connection in Windows, allows us to establish a GUI connection to our remote Linux machines as if we were sitting at the machine itself.  Here, we'll undertake the task of configuring this sort of connection to allow us to remotely interact with the Gnome Desktop.

Linux: Resetting an MD5 hash for ssh or ftp login.

Just happened to have forgotten a password for one of my user accounts on my workstation and remembered a handy little thing one can do to reset a pass. If you have root access, one can simply regenerate the MD5 hash with:

Linux / Windows Networking: Configuring and securing a router for Wireless and Wired Networks.

Here I would like to take you through the steps to configuring and securing a router (In this case we will use the WRT54G as an example) for your home or small office setup.  Securing a router can be very important especially when the wireless function is enabled.  Likely the most important reason is to […]

Networking: Sharing folders between Windows and Linux using Samba

There are plenty of ways to share resources and files between two or more computers.  You could do things like: Email yourself an attachment. Use FTP between the two PC's. Use SSH between the two computers. Use sneaker-net: copy the files to Flash Disk, DVD, CD, (gulp) floppy etc. and walk over to the other […]

MySQL DB backup.

One of the things you definitely want to take a backup of on a regular basis, especially if you are a WebAdmin/WebMaster is that of your MySQL database for things such as a forum, blog or anything else you have that may use MySQL on your site. For this you'll need telnet/ssh login to allow […]

Dynamic IP’s: How to find external IP of your Router / Linux machine and ‘ssh’ to it.

Working remotely from various places, I needed to have access to my Linux machine at home. Unfortunately for me, my DSL IP was dynamic and at the time my ISP would change this IP several times a day. That was good for maybe only a few hours and then it would change to something completely […]


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License