Archive

Samba Auth

Setup Linux to authenticate against a Samba server

This will show you how to setup Debian GNU/Linux to authenticate against a remote Samba server (Samba could also imply a Windows PDC too). It also details how to setup pam_mount to mount Samba shares automatically on login, so when a Samba user logs on to the Linux client, they get their $HOME as their home directory on the server. There’s also a shell script I devised to allow changing of passwords.

The article is based on a Linux client running Debian unstable and a Samba server running on a Debian stable [continued…]

Fighting Spam

Fighting spam

Introduction

This page describes some ways in which you can help fight spam or at least reduce the amount of spam you receive in your Inbox. It doesn’t go in to any detail on how to install or setup spamd or spamc for example or how to use the SpamAssassin configuration in a “global” sense (although it’s possible to do).

Some of the configuration file locations may be distribution specific. Some of the configuration options may not work for your release of Linux distribution/release XYZ.

Please add your own details to this page [continued…]

Small Hosting

I’m looking for 1U, possibly 2U, of hosting (initially; may well be more later) somewhere between Reading and Bristol. No huge bandwidth requirement, but I must be able to get physical access if needed, and of course good availability. — KeithEdmunds

UK Hosting

Things to consider about moving out of London:

  • The datacentres outside London are more often based on one ISP’s transit, i.e. the same company that provides you IP transit also owns the facility and this is the only company you can use for IP transit. That means you can’t shop around for transit [continued…]

Pseudo Root

Introduction

This document outlines some of the things that you can do to make your life easier when needing to perform tasks as user root while still logged in as your normal self. Doubtless many people are su’ing to root to perform tasks. That’s fine for single commands, but there are other means, which this article will look at. You may well be wondering why not just log in as user “root” all the time. The answer is simple. Unless one never makes a mistake in typing, and trusts everything running won’t ever damage one’s computer, then go right ahead. [continued…]

Mailserver

 Howto: Setup a home mailserver

So the first thing is to understand the setup:

 an "email server" can be made up of various bits, the bit that sends emails out it called the mail transfer agent or MTA
 fetchmail gets email from your ISP and delivers to local MTA local MTA saves in /var/mail (or /home/user/Mail) dovecot serves /var/mail and /home/user/Mail via POP3 and/or IMAP roundcube web application talks IMAP to dovecot to view emails and talks to the local MTA to send emails

This mailserver was configured on Ubuntu server 6.06 with a standard [continued…]

Serial Console

How to setup a serial console to manage and boot your Linux box

This document will explain how to setup your Linux box to give you a console via a serial connection. As long as you have a serial port you will be able to log in to a Linux box over serial and also manipulate LILO/grub. If you have a server BIOS that can do serial console redirection then you may also be able to manipulate BIOS settings and watch the entire boot process.

BIOS serial console redirection

If you have a fancy BIOS/motherboard that can do serial [continued…]

Debian Desktop

NOTE: This is horribly out of date. I suggest removing it for now, until someone has time to rewrite it? —DavidRamsden.

To do (random things, random order):

  • X configuration: Dual head mode
  • gdm (Debian GDM theme), Window Manager (xfce4)
  • LILO graphical image (Debian theme)
  • Bootsplash?
  • Mozilla Firebird flash plugin
  • GAIM
  • Other stuff but I’m tired and using brain hurts

Installing Debian in the first place

When I install Debian, I do everything as normal but skip tasksel and dselect when it asks.Then I make sure the [continued…]

Kernel Alsa

Kernel recompile for ALSA, nVIDIA drivers, Queen and country

A wiki specifically for ALSA can be found at http://alsa.opensrc.org/

This document will tell you how to recompile your kernel to get sound working (ALSA) and use the nVIDIA drivers.

It’s specifically aimed at Debian GNU/Linux Sid (unstable) and the 2.4.25 kernel. If you try and use something else, the specifics may be lost. It also also assumes you can use the “nano” editor a little and are using gdm as your login display manager.

Lines prefixed with a # (hash) mean a command to be [continued…]

SS Hwithout Passwords

The secure shell software, SSH, is usually configured to prompt users for a password when they try to establish a connection to an SSH server. However, there are many circumstances when this presents problems – writing automated system maintenance scripts, for example. Using SSH keys, it is possible to configure SSH and its related commands to allow connections without user intervention.

Getting started with keys and agents

The first thing you should understand before following any of these instructions is that it is not secure to use the client-side tools (keychain, ssh-add, or ssh-agent) on machines where you [continued…]

Exim SMTP Auth

Configuring Exim for SMTP AUTH using PAM

Software used

The following was written for exim4 on Debian Sarge, although the principles should apply to other Linux distributions. You must install exim4-daemon-heavy, which supports PAM, rather than exim4-daemon-light (which is installed by default). Testing was performed using Mozilla Thunderbird on an Ubuntu Dapper client.

Exim configuration

Exim can be configured from a single config file (/etc/exim4/exim4.conf.template), or a series of smaller files within a directory structure (/etc/exim4/conf.d/). Check for the following line in /etc/exim4/update-exim4.conf.conf:

 dc_use_split_config='true'

If [continued…]