There are many filemanagers available for GNU/Linux; however, the one filemanager that has the most power for managing tons of files is the humble FileRunner. The fancy ones on KDE and Gnome aren’t entirely reliable, mainly, because they aren’t simple. They try and compete with XP by providing icons, previews, etc. That may be cool […]
Managing Files With FileRunner
Adding NFS Users
Add the hostname of the client you want to be able to access your NFS server to /etc/exports. To list the current allowed users: [root@mondo log]# exportfs /share u-1.signalq.com /share srv-3.signalq.com /share srv-44.signalq.com After adding the name to /etc/exports: [root@mondo log]# exportfs -a We added housey, now: [root@mondo log]# exportfs /share u-1.signalq.com /share srv-3.signalq.com /share […]
Point and Print in Samba
If you’re using a samba server to provide print services to Windows clients, why not take it one step further by offering point and print functionality. If you set this up, users *might* even be able to install printers themselves! At the very least it will save you time when you slave over their workstations […]
Default Admin Page for CUPS
Agatha broke her CUPS configuration when upgrading her Gentoo workstation. Simply deleting the old printer and creating a new one works. The thing about CUPS is that it just rocks, and only breaks, to our memory, during an upgrade. The configuration for the daemon is in /etc/cups/cupsd.conf. The cool web-based admin tool makes it really […]
Creating a SAN with iSCSI – Part 1 – Setting up the Target on GNU/Linux
[See This article for a newer procedure.] An iSCSI target is the server piece of an iSCSI SAN. The client piece/driver is called the initiator. We will be running the target on a GNU/Linux box with a 2.4.27 kernel, and will run the initiator on a Windows 2000 server. For our iSCSI target, we will […]
Creating a SAN with iSCSI – Part 2 – Setting up a Windows Initiator – Initial Install
We are going to create a drive that appears to the Windows 2000 operating system as a regular hard disk drive; however, this drive is actually a filesystem on a GNU/Linux box that is exported via TCP/IP using the iSCSI protocol. We created the server to do this in this article. Now, we need to […]
Creating a SAN with iSCSI – Part 3 – Setting up a Windows Initiator – Finish Install
You will see another license agreement box: If you agree, click Agree. You will be notified that the iSCSI initiator is installing: A box regarding the digital signature of the package will pop up: Click Yes if you wish to continue. If the iSCSI initiator installs successfully, you will see this box: A box with […]
Creating a SAN with iSCSI – Part 4 – Setting up a Windows Initiator – iSCSI Setup
You will see a dialog box saying the installation is complete: Click close. Open the Microsoft iSCSI Initiator program. There should be a shortcut on your desktop. If not, it is also in control panel. Open the Add Target Portal tab: The server we want is at 10.50.100.70. Click on the advanced button: The user […]
Creating a SAN with iSCSI – Part 5 – Setting up a Windows Initiator – Creating the Drive
You will see the name of the target in the box: Click Log On to connect to the drive and make it active. You will see a dialog: For now, just leave automatic restore option unchecked. Click OK. Now the available target box has the target listed as connected: Click OK and go into the […]
Creating a SAN with iSCSI – Part 6 – Setting up a Windows Initiator – Finishing Up
Our drive is detected properly now, and we have 3 gigs of unallocated space: Format the disk: If you want the drive to automatically be available at boot, check the box: Let’s copy a file over to our iSCSI drive: This drive is treated just like a hardware drive would be, but it is all […]
Configuring Print Margins With Alignmargins
There is a cool utility available from LinuxPrinting.org that can help align your margins. Below is how we configured our HP Laserjet 1200: [root@srv-1 usr-1]# cd /tmp [root@srv-1 tmp]# wget http://www.linuxprinting.org/download/printing/align.ps –07:04:32– http://www.linuxprinting.org/download/printing/align.ps => `align.ps’ Resolving www.linuxprinting.org… 216.129.135.176 Connecting to www.linuxprinting.org[216.129.135.176]:80… connected. HTTP request sent, awaiting response… 200 OK Length: 5,352 [application/postscript] 100%[====================================>] 5,352 28.10K/s […]
Test SMTP (email) via Telnet
One good trick to use when testing your email server is to use telnet. To send email, you can just telnet into the destination email server directly: u-1@srv-1 u-1 $ telnet yourmailserver.com 25 Trying 21.40.23.46… Connected to yourmailserver.com. Escape character is ‘^]’. 220 mx.yourmailserver.com ESMTP Sendmail 8.12.9/8.12.9; Thu, 12 Jun 2003 10:06:19 -0700 helo frommail.com […]
Osirusoft Is Blocking All Hosts
Due to DDoS attacks on Osirusoft, Osirusoft decided to reject all. So, if you are using Osirusoft to block spam, stop! Well, hats off to the valiant efforts of Osirusoft. Can’t really blame them for their reaction to this world of shit. The beautiful thing is that sysadmins and others in our community will find […]
Using Watch-maillog To Reduce Spam Chatter
It is truly amazing how many resources are taken up on a server by other rogue boxes searching for an open relay, or simply sending dictionary attempts at finding local users. Watch-maillog is a perl script that uses IPtables to block mail servers that abuse your server. Watch-maillog helps with this by blocking servers that […]
Setting Reply-to Address in Pine
We often need to mail brief messages from servers to send config files, or quick messages to other sysadmins. Pine works well for this, and the installation is mostly a single binary. We usually are logged in on some account that isn’t the email address we wish replies to come to. It turns out that […]
Adding an Alias to Postfix
If you simply want to make a mailbox receive mail for another address, just add the full address to /etc/postfix/virtual: [root@srv-2 postfix]# cat virtual usr-1@networking.com usr usr-1@networking2.com usr usr-2@maildomain.com anotherusr If we simply add this line to the bottom: usr-3@maildomain.com anotherusr Mail that was was delivered previously via usr-2@maildomain.com will be delivered in the same […]
Wadding up Spambots With Spiderkiller
Spiderkiller is a C program that will generate unique pages with random email addresses that will confuse harvesting bots. Compile the app: srv-5:~ usr4$ gcc spiderkiller.c -o spiderkiller spiderkiller.c: In function ‘main’: spiderkiller.c:299: warning: incompatible implicit declaration of built-in function ‘strlen’ The options are simple: srv-5:~ usr4$ ./spiderkiller -help Usage: spiderkiller [-help] [-n ] [-k […]
Postfix RPM Upgrade for Red Hat Enterprise Linux 3
One of the servers we work on is running Red Hat Enterprise Linux 3 (RHEL 3). We needed some features in the later versions of Postfix, rather than the backported version for RHEL 3. There are some RPMs available here: http://postfix.wl0.org/ftp/official/2.2/RPMS-rhel3-i386 The latest version as of the date of this article is 2.2.5-3. If you […]
Postfix Source RPM Upgrade for Red Hat Enterprise Linux 3
In this article, we upgraded Postfix to 2.2.5 via RPMs; however, if a later version is needed, and you are running Red Hat Enterprise Linux Version 3 (RHEL 3), an RPM needs to be created from source. There is a source RPM for 2.2.6 available here: http://postfix.wl0.org/ftp/official/2.2/SRPMS/ To use the RPM, install it: [root@s root]# […]
Using UW IMAP and Xinetd For Dual SSL and Plaintext Support
First off, Pine rocks when it comes to reading mail quickly, particularly on a server where a GUI is not available. Second of all, it often doesn’t come with GNU/Linux distributions anymore. I suppose that part of the problem is that pine includes a version of IMAP that can cause problems if it coexists with […]

