Linux

Enable LDAP Authentication from Fedora to Zimbra

I have a Zimbra email server which contains a LDAP server housing all my users and their passwords. I would like to enable single signon for my linux machines. The only account details I'll be using from LDAP are the username and password.

The last time I did this, I did it the hard way and modified files in /etc/pam.d by hand. Using the authconfig command is much more convenient.

The following has been tested on Fedora 9.

Configure PAM

Tags:

Working on Fedora 10 Virtualization Release Notes

I've been writing the Fedora Weekly News Virtualization Beat for several weeks now, and I've recently volunteered to work on the portion of Fedora 10 release notes which cover virtualization features.

Installing Oracle Instant Client on Fedora 9 and PHP

Based on: Apache, PHP, Oracle Instant Client on Fedora 8 (64-bit) and Installing PHP and the Oracle 10g Instant Client for Linux and Windows.

I downloaded the instant client RPMs from Oracle to my local private yum repo that I use for in-house packages. Doesn't everyone have one of those? Then all ya gotta do is...

Tags:

Recursive Logical Volume Management for Xen dom0

I had some trouble removing an dom0 LV used as a domU VG after mounting it to look inside that VG (for background on this setup, see this post). I wasn't sure what steps I had taken, so I decided to reboot the dom0 to clear the decks and did the following experiment.

The goal was to create an LV and stack upon that a VG containing an LV and then remove these devices to get back where we started. And maybe to learn something along the way.

Access to logical volumes in domU from the dom0

I currently run a Fedora 8 dom0 with Fedora 9 domU's primarily. I'm working on exactly how I wish to configure the disk layout, but here is how to configure each domU on it's own logical volume, configure further logical volumes within that domU, and how to access those logical volumes from the host dom0.

Backup to Encrypted USB Key Fob

I described creating an Encrypted USB Key Fob previously. Here is a script I use to backup my data to it. It rsyncs a few directories and will also download your calendar and contacts from Zimbra if you are so blessed.

Just put this script on the key in bin/backup. Put the key in each computer and cd to /mnt/disk/bin and run the script. If you are not prompted for the password when you insert the key run 'sudo /sbin/cryptsetup luksOpen /dev/sdb1 dm-usb'.

#!/bin/bash

Tags:

Friendly Spoken RT Ticket Reminders

On Friday before the long New Year's holiday weekend I thought I'd help out Christine by hacking her computer to remind her of her open RT tickets by reading the subjects out loud in her headphones every hour. The effect is quite hilarious. I just keep playing dumb and she keeps guessing why it's happening. :)

Tags:

UT2004 on linux and fedora 8 on my mac

Ah what a great day. I've got UT2004 working on my desktop running fedora 7 and fedora 8 successfully installed on my mac with the help of Mike Harris! Good stuff. I love my mac! Oh and I switched to KDE, got Amarok set up and can burn mp3s with K3b. A very good day indeed.

Tags:

Encrypted USB Key Fob

I found a 1G USB key on the sidewalk today. The plastic case was missing and it was a bit muddy but it works. So, I decided to play around and set it up with an encrypted filesystem on Fedora 8.

If you run gnome then you will be prompted for the password when you insert the thumbdrive.

#!/bin/bash
################################################################################
# Dale Bewley <dale bewley net>
# Mon Dec 10 2007
# Encrypt a USB key fob for use in linux.
# This will totally nuke any existing data.

Tags:

Xen Networking in Fedora 7+ and RHEL

Starting with Fedora 7 if you use Xen you will notice a new subnet and a
bridge automagically being created by libvirt. This is great for desktop experimenting, but if you are running this on a server you probably have an opinion on how your network should be configured.

Here's how to revert to manually controlled network settings.

Pages

Subscribe to RSS - Linux

Syndicate

Subscribe to Syndicate