Perl – Basic Solaris Zone Config

#!/usr/bin/perl # — Written by Blane Craft — # — 11/03/06 — # ## – Basic Zone Config – ## print ‘##–Basic Zone Configuration–##’; print”\n”; print”\n”; print ‘Zone Name? ‘; $name = ; chomp ($name); print ‘Set Dir? ‘; $setdir = ; chomp ($setdir); print ‘Special Dir? ‘; $spcdir = ; chomp ($spcdir); print ‘Filesystem […]

Read More »

Perl – password encryption

#!/usr/bin/perl print “### Password encryption utility ###\n”; print “\n”; print “What password would you like to encrypt?\n”; $pass=; chomp ($pass); print “Your encrypted password is..\n”; $xx = (“xx”); $enc=crypt ($pass, $xx); print “$enc\n”; print “\n”;

Read More »

Removing a primary filesystem to create new logical filesystems

Okay, so sometimes you need a refresher on how to do something. Let’s say, for example, that you have some filesystems that look something like this /dev/hda1 –> /boot /dev/hda2 –> / /dev/hda3 –> swap /dev/hda4 –> /logs You’ve noticed that your / partition is filling up rather quickly as you didn’t allocate enough space […]

Read More »

RHEL3 upgrade to RHEL5

I didn’t know you could do an upgrade in RHEL to a different version. Apparently you can, if you’re registered and can download the iso’s. Burn them to disc, put disc1 in, reboot the machine, and follow the prompts. You’ll be upgraded shortly after!

Read More »

Linux on Sparc

blane@sunlinux:~$ uname -a && cat /proc/cpuinfo && cat /proc/meminfo Linux sunlinux 2.6.20-15-sparc64 #2 Sun Apr 15 07:01:29 UTC 2007 sparc64 GNU/Linux cpu : TI UltraSparc IIi (Sabre) fpu : UltraSparc IIi integrated FPU prom : OBP 3.31.0 2001/07/25 20:36 type : sun4u ncpus probed : 1 ncpus active : 1 D$ parity tl1 : 0 […]

Read More »

Running X applications over SSH

Today I tried something I haven’t really done before and it works great. Modifying my /etc/ssh/sshd_config file to say: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no I was able to run X applications on my slackware server and view them on my local linux pc. The syntax for this command is: ssh -X you@yourserver.com Here’s a […]

Read More »

An Organized Linux Community?

Linux Foundation! This seems like the most logical thing to do. It seemed (to me) that it was the most logical thing to do years ago. Finally, there will be a unified Linux front to do battle with the evil of M$.

Read More »

Ubuntu – Satanic edition?

No, I’m not Satanic. I just think the theme itself looks pretty cool, except for the login screen and “satanic edition” plastered all over everything. Link to the original site: click here Here’s an example of a background on the theme:

Read More »

Linux refresher

Welp, today I had to search my brain to figure out how to create new filesystems on a linux distrobution since I’ve been focusing more on Solaris lately. Just incase others need this info and do google searches, I’ll put the info on here. First thing you do is figure out how your disk is […]

Read More »