Archive for the 'Unix' Category

Why aren’t you running gentoo?

emerge world updates every package you have to the latest version that’s available via source. Read on for a screendump of tastiness.

Solaris 9/04 and Veritas kernel panic.

Over a weekend I had the fun task of rebuilding two Sun Cluster hosts as standalone servers (Sun Cluster wasn’t great for us). I rebuilt one box and noticed after encapsulation that is complained about the ufs log on /. It was weird but didn’t cause any problems.
The 2nd identical box didn’t go […]

Useful Crontab Header

#minute (0-59),
#| hour (0-23),
#| | day of the month (1-31),
#| | | month of the year (1-12),
#| […]

Software RAID5 is no good.

Set up a 2.6TB raid5 volume using A5200s and a 2×450mhz E220R. Shared it using samba3. Saw that network copies were horrible to it. This is the output of bonnie++ (a disk benchmark) and then I piped the results to `bon_csv2html’ program (included with the source distribution of bonnie).

You can see that […]

Sorta got owned.

/tmp is writable for the apache user. Someone exploited some bad code and uploaded an IRC bot on Aug 09. It’s not running now and we did a test to see if ./mech could be run. It didn’t start.
We fixed the PHPix code to check for system escapable characters. PHPix really […]

Gnome-terminal cpu utilization fixed

All of a sudden, gnome-terminal on Fedora core 2 was acting really strange. It was slow to open, slow to type, slow to close. Found a bug doc on redhat’s site although it was an older distro.
Eh, it’s worth a shot. Searched for the rpm on rpmfind.net.
Fedora ships with vte-0.11.10-5.1. […]

Using sed to manipulate ctd type strings from Solaris

This is a very specific example. I found this tricky because regular expressions in sed isn’t the same as in Perl.
I wanted to take output from the format command in Solaris and just get a list of disks on the system.
I ran format and redirected the output to a file called disks.txt
– file: disks.txt […]

More on samba, winbind on Solaris

Here’s how you can get the samba home directories to be created on the fly:

samba, winbind and solaris

This is a repost for formatting
Winbind-Solaris Documentation
Naag Mummaneni getnag at rediffmail.com
Thu May 2 11:10:54 GMT 2002
Next message: Winbind-Solaris Documentation
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
——————————————————————————–
Hi,
I just configured my Solaris box to logon to my Windows 2k Domain after working on it for three days.I am […]

Samba3, winbind and active directory - how it looks when it’s done

There is lots of community information about how to setup winbind and Samba3 to move your *nix box towards a single sign on paradigm, but not much about what it actually looks like or how it operates in the end.
First, Samba. The point of this setup is to not to create a unix account […]