Are you or one of your users getting the following error when trying to execute a sudo command? [username] is not in the sudoers file. This incident will be reported Here is how to fix that problem (*see note). As root type: echo ‘[username] ALL=(ALL) ALL’ >> /etc/sudoers Obviously substitute [username] with your actual username. *NOTE: Not […]
Extend Your Linux Disk Space
I was pondering an interesting, and likely fairly common, situation last night so this morning I was up early getting my geek on (aka, playing, testing, and troubleshooting). If someone has a Linux VM (cloud server or whatever) with a set size but then need to add more space to their system and make it […]
centos, Hosting, Linux, System AdministrationUbuntu VIM
It seems that some lame light version of VIM gets installed with Ubuntu by default. A specific situation I was running into was that whenever I pressed a cursor key while in edit mode it wouldn’t move the cursor but instead write a character (A,B,C,D) to the file. After fighting with it for a while I […]
Linux, UbuntuLinking spam sent through shared IIS SMTP server to a user
Microsoft’s IIS SMTP service won’t log usernames even when SMTP-AUTH is enabled and clients are all authenticating. So, what happens if someone starts abusing the SMTP service (or you perhaps have a runaway process performing the abuse)? Well, it takes a little effort but it is possible to track down the username being used to […]
cytanium, Hosting, IIS, OrcsWeb, System Administration, tipCreating AD users in bulk with PowerShell
Terri, a support specialist at OrcsWeb who guest posts here on my site, and who has the 2nd most popular post here, wrote up a nice little post about creating Active Directory (AD) users in bulk easily via PowerShell. If you’re interested in user management or PowerShell in general, go check it out: http://terrid.me/creating-ad-users-in-bulk-with-powershell/ Happy […]
Hosting, PowerShell, System AdministrationUpdate Your WordPress Database Connection String
I recently decided to create a test/development instance of a WordPress site that I run. In part of doing this I had to deal with how to backup one MySQL database and restore it to another database. After that was done, and I copied over the content files, I had to tell WordPress where to […]
cytanium, Hosting, MySQL, System Administration, WordpressRestore MySQL Dump File to a Different Database Name
Today I had to take a MySQL database backup from one database and then restore it to a different database name (for development/testing purposes). I tried a number of different tricks that I found online through Google without any success. The issue was that the user I was using to restore the data was NOT […]
cytanium, Hosting, MySQL, tipAutomating Website Creation with PowerShell v3
I will be the first to admit that I am not a scripting pro. Matter of fact, I am pretty much a novice at it. Recently, I stumbled across a PowerShell script that creates a website, populates it with default text page, and launches IE to test the page. This script was written for PowerShell […]
Automation, IIS, PowerShellVMware Workstation error: virtual machine’s policies are too old…
I recently upgraded my VMware Workstation to version 9 and today when I went to open a few of my VMs to do some quick testing I got an error related to “virtual machine’s policies are too old…”. Grr. Nothing changed but the upgrade. After a bit of Googling I found a link with a […]
virtualization