Reset the GroundWork Monitor 6.0 Password

The GroundWork Monitor is a simple way to deploy Nagios monitoring to networks. It does a great job of monitoring Linux servers, and anything that speaks SNMP. I recently needed to make some updates to a GroundWork Community Edition VM, and found myself in a situation where the admin user’s dashboard (web browser interface) password had been changed to an unknown value. I was able to SSH into the GroundWork VM though (it’s CentOS Linux based). There’s info floating around the net on how to reset the admin password, but it was written for older versions of GroundWork, so some of the default password, and MySQL schema details have changed. Here’s what I did to reset the admin user’s password on GroundWork Monitor 6.0 Community Edition: SSH into the GroundWork VM. If you haven’t changed the root user’s default password, then it’s going to be “opensource” Login to MySQL, and run a query to reset the “admin” user’s password to “admin”. The admin password entered below uses a hash: /usr/local/groundwork/mysql/bin/mysql -u root monarch update users set password='21232f297a57a5a743894a0e4a801fc3' where...

Install UltraVNC from within an RDP Session

Here’s how to install and start up an UltraVNC server from within an RDP session. This has been tested with UltraVNC 1.0.8 and a remote desktop session into a Windows XP Professional SP3 installation, but should work in other Windows / UltraVNC combinations as well. RDP into the target system, and install UltraVNC. Be sure to select the checkboxes for registering VNC as a service, and starting up the service at boot time. Set a VNC password for the currently logged in user by starting up the VNC server (Start > All Programs > UltraVNC > UltraVNC Server > Start UltraVNC Service), then entering a password when prompted Open up Regedit (Start > Run > regedit) Copy the HKEY_CURRENT_USER\Software\ORL\WinVNC3\Password entry’s current value Create a new binary value entry located at “HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default\Password”. Paste in the value you copied in the previous step to this new entry’s value Reboot That’s it! It may be possible to get VNC going without the reboot, but this is the combination that got a working installation going for...

Joining the ACM – A Linux Sysadmin’s Perpective

The ACM, or the Association of Computing Machinery describes itself as “the world’s largest educational and scientific computing society”. Until recently, I assumed that since I was out of academia, and focused more on things that sysadmins do, like developing, and implementing real-world solutions than the stuff of research papers, the ACM didn’t have much to offer me. A contributor to this bias was the fact that I joined the ACM a few years ago while I was in college. I was working with a couple professors on a project that involved using Linux virtualization to teach networking concepts. Anyway, the reason I joined the ACM was that I was asked to give a presentation at an academic computing conference. As I recall, the two requirements for being a presenter were having a .edu email address (check), and ACM membership. I quickly signed up, and failed to investigate what benefits ACM membership would bring. Fast forward to today. I spend a lot of time reading to keep up on current technologies, and while I am able to do most of this online, I still spend a lot of money each year buying books. A significant portion of these are published by O’Reilly, which writes a lot of excellent Linux, Unix, and development books. Cisco Press’ books make up another significant portion of my collection. Most of the networking products that I work with run either Linux or one of the BSDs, but I’m yet to find a publisher that consistently covers such a wide range of networking topics as well as Cisco Press does. Many of these O’Reilly and...

Linksys PAP2T-NA Gizmo Settings

Here are the settings that I used to get a Linksys PAP2T-NA working with Gizmo: Browse to the PAP2T-NA’s web page, for example http://192.168.111.100 Click the PAP2T-NA’s “Admin Login” link Click on the “Line 1” tab Fill in the following three values, and hit submit: Proxy: proxy01.sipphone.com Display Name: Your Name User ID: Your Gizmo SIP number, for example 17471234567 Password: Your Gizmo password Click the “Save Settings” button That’s it! Your Linksys PAP2T-NA is now configured to use your Gizmo...

Enable the “Remember my password” checkbox for network shares in Windows XP Professional

Windows XP Professional offers a Remember my password checkbox when mapping to a network drive, or other password protected network resource. Unfortunately, once you’ve set a password, the Remember my password box disappears, so future username or password changes can result in repeated password prompts. Here’s how to clear your previously set username and password, and get the Remember my password checkbox back: Click Start -> Run Type in control userpasswords2, and press Enter Click on the Advanced tab Click the Manage Passwords button Select the server for which you wish to delete existing settings, then click the Remove button Click Close Click OK Logout of Windows XP, then back in Connect to the password protected server. You should now be prompted for your username and password, along with the previously missing Remember my password checkbox The above may work in other version of Windows, but I haven’t tested this out. Please post a comment if you’ve been able to use this procedure to get the Remember my password box back under your Windows...

SMTP relay with FreeBSD and sendmail

Here’s a guide to setting up a FreeBSD server to relay emails for a set of IP addresses and/or hostnames. Be very careful to only enable relaying for trusted machines. Ideally, you’d setup your FreeBSD sendmail server to require authentication. Enable sendmail on your FreeBSD server by adding the following line to the /etc/rc.conf file: sendmail_enable="YES" Start sendmail using FreeBSD’s rc.d system. /etc/rc.d/sendmail start Add the IP address or IP addresses that you’d like sendmail to relay mail for to the /etc/mail/access file. For example, the following lines enable relaying for all emails coming from 10.0.2.1, and any IP address starting with 192.168.0. 10.0.2.1 RELAY 192.168.0 RELAY cd to your FreeBSD server’s /etc/mail directory, and run make to apply your changes to sendmail. cd /etc/mail...

Printing to a Cannon ImageRunner 5075 from Microsoft Word 97

One of my customers recently had a Canon ImageRunner 5075 coper/printer/fax unit installed in their office. Everything seemed to be working until someone tried to print a document in Microsoft Word 97. It seems that Microsoft Word 97 didn’t like the new printer. It would crash every time someone went to File -> Print, and selected the Canon printer, but strangely enough, it printed just fine if the Canon IR 5075 was set as the default, and they just clicked on the Print icon. None of the other printers caused Microsoft Word 97, or any of the other Microsoft Office 97 apps to crash. As a workaround while I tracked down the problem, I asked them to print their word documents as PDFs, then print the PDFs to the Canon ImageRunner 5075. Needless to say, that kludge wasn’t a good long term solution for the printing problems.What I found was that Microsoft Word 97, and the rest of Microsoft Office 97 for that matter didn’t like Canon’s UFR (Ultra Fast Rendering) drivers. I found a PCL 6 driver for the ImageRunner 5075 on Canon’s website, switched to it, and the crashes...

Make Thunderbird show the time and date of replied to messages

Once thing that I’ve missed since switching from Apple’s Mail to Mozilla’s Thunderbird, is the way that Mail includes the time and date that the message being replied to was received. Thunderbird does not do this by default, but it’s to make it. Go to the Preferences window. In Linux: Edit -> Preferences In Windows: Tools -> Options In Mac OS X: Thunderbird -> Preferences Click on the Advanced button. Click on the Config Editor… button. Type mailnews.reply_header_type into the Filter: box. Double-click on mailnews.reply_header_type, enter the number 3 as the new value, and click...