Linux Logo

Linux: The Bash Bug Test and Fix

A bug which could allow for arbitrary code execution has been discovered, Red Hat alerted, and patches exist. So, I simple yum update should take care of things. However, Red Hat offers command line arguments which may be used to test for the vulnerability. Using the command issued below, different warnings may appear, however, the following result is one of...Read More »
Linux Logo

One Way to “sysprep” a Linux Template to Clone

An anoyance with cloning a Linux virtual machine is that the /etc/sysconfig/network-scripts/ifcfg-eth0 file may contain a UUID and HWADDR which can be removed and the /etc/udev/rules.d/70-persistent-net.rules can be deleted or zero’ed out. So, here are the steps I use to create a “template”. Remove the UUID and HWADDR lines from the /etc/sysconfig/network-scripts/ifcfg-eth0 file. > /etc/udev/rules.d/70-persistent-net.rules to zero it out. Run…

Read More »

Remove passwords from protected Microsoft Word documents

Having to make modifications to a Microsoft Word document, it became painfully clear that there were modifications that could not be made as there were restrictions imposed on to the document and password protected. Not having access to the password, a solution to remove the password became known to me and after having applied it, it worked successfully and painlessly….

Read More »
Windows Logo

Event ID 2017 Fills the System Logs

Event ID 2017 is “The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.” This identified on a Windows 7 workstation. The resolution is a couple of registry changes. Here is a screenshot of the System log file filtered for Event ID 2017. Here is the fix. Source(s)…

Read More »
calculator

Radio Shack EC-4019 Calculator Problem and Solution

The Radio Shack EC-4019 is a great calculator. I have had it since the late 1980s since it was new. It has worked flawlessly up until about 2012, when a new battery was needed. Yup, it took over 20 years to finally have the need to replace the battery. Not to suggest that it is being used on a daily…

Read More »
Linux Logo

Configure a Public Share with Samba on Centos 7 Linux

A CentOS7 Linux server was used to create Samba shares so that Windows clients of a home network may back up their stuff, resulting in one share with read write access. The ultimate goal was to create a Samba share that would act as if it were one of those off-the-shelf “solutions” like a Buffalo Linkstation, where no user password…

Read More »
Linux Logo

Use grep to eliminate blank lines and comments

A configuration file, specifically, the /etc/samba/smb.conf file contains many lines of comments using both the simi-colon (“;”) and the hash (“#”) as well as many empty lines that are either blank or contain whitespace. Using grep to view the file without these lines is one way to do so. To write the correct command can be a bit more challenging….

Read More »
Linux Logo

Set the Envionrment Variable in CentOS through Best Practice

In the past, to make an environment variable perminant, I would append to the /etc/profile file the environment variable for JAVA_HOME for example and update the PATH. While this does work, it has recently come to my attention that a more appropriate and easier method exists which does not involve editing the /etc/profile file. For this example, the environment variable,…

Read More »