• : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/tcdaemon/tygerclan-Prod/site/includes/file.inc on line 649.
  • warning: Creating default object from empty value in /home/tcdaemon/tygerclan-Prod/site/modules/taxonomy/taxonomy.module on line 1390.
  • : Function split() is deprecated in /home/tcdaemon/tygerclan-Prod/site/modules/filter/filter.module on line 1200.
  • : Function split() is deprecated in /home/tcdaemon/tygerclan-Prod/site/modules/filter/filter.module on line 1200.
  • : Function split() is deprecated in /home/tcdaemon/tygerclan-Prod/site/modules/filter/filter.module on line 1200.
  • : Function split() is deprecated in /home/tcdaemon/tygerclan-Prod/site/modules/filter/filter.module on line 1200.

World

POSIX RegEx for hostnames

Here is a POSIX compliant regular expression for testing a hostname.  This does not support a fully quilified domain name (FQDN).  This was tested with linux grep. 

'^([[:digit:]a-zA-Z]([-[:digit:]a-zA-Z]{0,61}[[:digit:]a-zA-Z]){0,1})$'

Here is a working example:

grep -E -i -w '^([[:digit:]a-zA-Z]([-[:digit:]a-zA-Z]{0,61}[[:digit:]a-zA-Z]){0,1})$'

 

Allow UID 0 accounts to login but not root over SSH

Introduction

More than once, I've needed root access to a server over SCP.  As we all know, allowing SSH access with the root user is a blaring security hole because the user is a well-known userid with superuser access. This makes it the first thing that a hacker or script-kiddie will check.  If you create another user with userid number 0 and set PermitRootLogin to 'no' in the sshd_config file, you will still not be able to login.  The PermitRootLogin option actually blocks ANY user if their user id number equals 0.

Convert JKS and PKCS12 back and forth with keytool

Introduction

Here are a few CLI commands to convert a java key store file to a PKCS12 encoded cert chain and back. This requires the java development kit (Sun/Oracle JDK) 6 or newer.  

Instructions

JKS → P12

$> keytool -importkeystore \
-srckeystore keystore.jks \
-srcstoretype JKS \
-deststoretype PKCS12 \
-destkeystore keystore.p12

P12 → JKS

Convert RHEL to CentOS 5.5

Intro

Here is a quick howto on how to convert an Red Hat Enterprise Linux to Centos 5.5.  You can do this with with any RHEL 5 version 5.5 or older. 

Script to get Network Interface IP

Here is a easy little script to get the IP of a specific interface.  It supports both IPv4 and IPv6. 

Importing an OpenSSL CSR into Windows CA server

To import a CSR in to a Windows Certificate Authority Server, you must define a certificate template.  OpenSSL does not do this because this is a Microsoft only concept.  With the use of the 'certreq' command, you can apply a template type during the request import process.  This command should be available on your Microsoft CA server. 

certreq -submit -attrib "CertificateTemplate:WebServer" request.csr

 

Enable Jumbo Frames on ESXi 4.x

Configuration

Here is a little note on how to able jumbo frames on ESXi 4.x.  This is an unsupported function of ESXi, but I have run it without an issue for over six months.  This howto does not cover enabling jumbo frames over a VLAN trunk. 

Homemade Poppers -- Needs Improvement

Attempted to make some gluten free jalepeno poppers today.  They came out ok.  I think they still need some work though.  I'll post the recipe once I get the recipe better. 

Tortellini with Spinach and Bacon

This is an easy meal quick meal that I adapted from Disney Kids website.  These measurements are approximations.  I made this recipe off the top of my head, so I am estimating the ingrediants. 

Fried Ranch Ramen

A quick ramen recipe for one.

Syndicate content