Skip to main content

Posts

IRM - The Information Resource Manager

IRM is a PHP, Pear & MySQL based computer inventory system: IRM, the Information Resource Manager, is a powerful web-based asset tracking and trouble ticket system built for IT departments and HelpDesks. It keeps detailed information about each computer, as well as providing a trouble ticket system, an FAQ system, and a Knowledgebase

Qmail Help

Help for Qmail is on the way at: The Qmail home page: http://www.qmail.org/ - select a mirror. The qmail HOWTO v2: http://www.flounder.net/qmail/qmail-howto.html

SpamAssassin Help

We are configuring SpamAssassin. Here's what we found to help out. The Apache SpamAssassin Project http://spamassassin.apache.org/ The SpamAssassin Wiki: http://wiki.apache.org/spamassassin/FrontPage The SpamAssassin Configuration Generator (2.5.x) http://www.yrex.com/spam/spamconfig.php

Knoppix 3.2 XF86Config-4

This file was generated by Knoppix 3.2 on my ShuttleX, with the ATI Radeon 9000 video card & Viewsonic VA-800 monitor. Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" # PS/2 Mouse not detected # Serial Mouse not detected InputDevice "USB Mouse" "CorePointer" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" "true" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath ...

Configuring sudo

For administrators. The sudo command is preferable to su but often your shell account is not configured to use this command. Typical error message: [name] is not in the sudoers file. This incident will be reported You need to: Configure sudo to allow the wheel group to use sudo. Add the desired accounts to the wheel group. Here's how: Log in as the super user: su - visudo Type: i Uncomment the specified line (see below) Save and quit: [Esc] :wq Uncomment the wheel group line as follows (or paste this in, if it's not in /etc/sudoers) # Uncomment to allow people in group wheel to run all commands %wheel ALL=(ALL) ALL Then, add the accounts to the group wheel to give them sudo access. gpasswd -a [name] wheel Adding user [name] to group wheel Then, after you've added your account name, exit Try sudo . You must enter your password (not root!) once per session. You're done!

Configuring YUM for DAG

Don't know what DAG is yet, but this is good for adding more packages: (libnet is needed by nessus) Add this to bottom of /etc/yum.conf: [dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag (This on the page http://dag.wieers.com/home-made/apt/FAQ.php#B) Then do the following to find the pkg. note that when i do yum install later down, it picks the latest one. :) [root@localhost etc]# yum search libnet Searching Packages: Setting up Repo: dag repomd.xml 100% |=========================| 951 B 00:00 Setting up Repo: base repomd.xml 100% |=========================| 1.1 kB 00:00 Setting up Repo: updates-released repomd.xml 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 566 kB 00:01 MD Read : #################################################...

Red Hat Fedora Core 3 YUM

YUM is great. Here's the first time I used it to install a package needed by nessus: YUM solves dependencies and everything (see gtk install lower half). [root@localhost ~]# sh nessus-installer.sh The script needs uudecode(1) to run properly Install the package 'sharutils-*.rpm' [root@localhost ~]# yum install sharutils Setting up Install Process Setting up Repo: base repomd.xml 100% |=========================| 1.1 kB 00:00 Setting up Repo: updates-released repomd.xml 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 797 kB 00:03 MD Read : ################################################## 2623/2623 base : ################################################## 2622/2622 primary.xml.gz 100% |=========================| 207 kB 00:10 MD Read : ################################################## 463/4...

Using RedHat Fedora FC3

Been using this for a few weeks did several installs. there was some wierdness on 3 machines... 1. Installing on a Dell Inspiron 8600, the install hung several times. I powered off and tried again and it was fine again. The system has been perfect ever since and works great. 2.) During install on a Dell Inspiron 7500, the install hung during CD1. I started over and it went fine until CD3, where there was a read error and I had to clean some stuff off the disk. Since then it was fine and the system now works great, although there is no sound. Maybe these lockups are all related to media issues. I am using a copy I burned. 3.) One machine my CD3 was bad (burner error, the whole disk was actually blank) and I left the machine sitting there for 3 days until I got a new copy. When I finally continued, the install finished but after the reboot there is some video wierdness like when I go to Applications/System Tools, the menu there is empty (I am root). I was going to reintsall, but...

Install DNS Server

I chose to install djbdns because it's small, simple, and secure. All instructions are located at: http://cr.yp.to/djbdns/install.html On our installation, I had to install gcc. I used rpmdrake. When I run rpmdrake on this machine (Gateway pc, 'dizzy', it comes up and flashes forever. finally I close the small window in front, and the packages come up and things seem to work fine. Anyway, I picked gcc and it found the dependencies and installed them. But at the command 'make', I am getting the error shown below, which I got around with the instructions below: ...stuff deleted ./compile uint32_pack.c ./compile uint32_unpack.c ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_zero.o case_diffb.o case_diffs.o case_lowerb.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o str_chr.o str_diff.o str_len.o str_rchr.o str_start.o uint16_pack.o uint16_unpack.o uint32_pack.o uint32_unpack.o ./load auto-str buffer.a unix.a byte.a buffer.a(buff...

Installing Firefox

No browser inststalled byu default. ftp ftp.mozilla.org log in as anonymous at ftp>, type: bin hash passive then cd into /pub/mozilla.org/firefox, get the latest with the word "installer" in it. download, unzip, and untar it. cd /home/keith/firefox-installer [root@dizzy firefox-installer]# ./firefox-installer [root@dizzy firefox-installer]# *** eeeeeeee = [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.remove]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: file:///home/keith/firefox-installer/components/nsExtensionManager.js :: ensureExtensionsFiles :: line 245" data: no] *** loading the extensions datasource *** loading the extensions datasource [root@dizzy firefox-installer]# it worked.

What's up with adding packages?

[root@dizzy root]# urpmi webmin unable to take medium "Commercial Applications CD 6 (x86) (cdrom8)" into account as no list file [/var/lib/urpmi/list.Commercial Applications CD 6 (x86) (cdrom8 )] exists unable to take medium "Commercial Applications CD 6 (x86) (cdrom9)" into account as no list file [/var/lib/urpmi/list.Commercial Applications CD 6 (x86) (cdrom9 )] exists unable to take medium "Installation CD 3 (x86) (cdrom4)" into account as no list file [/var/lib/urpmi/list.Installation CD 3 (x86) (cdrom4)] exists unable to take medium "Supplementary Applications CD 4 (x86) (cdrom5)" into acco unt as no list file [/var/lib/urpmi/list.Supplementary Applications CD 4 (x86) ( cdrom5)] exists unable to take medium "Supplementary Applications CD 5 (x86) (cdrom6)" into acco unt as no list file [/var/lib/urpmi/list.Supplementary Applications CD 5 (x86) ( cdrom6)] exists unable to take medium "Supplementa...

Webmin & Postfix Install

Email & Webmin Install Computer: Shuttlex OS: Mandrake Linux 10.0 Official Power Pack Friday 16 July 2004 Installation Log Open terminal, su to root Install postfix: urpmi postfix Install webmin: urpmi webmin Install apache:  urpmi apache Update packages: urpmi --update --auto-select Start webmin, postfix daemons Test webmin in browser: https://localhost:10000/ Postfix Install [root@shuttlex root]# urpmi postfix To satisfy dependencies, the following packages are going to be installed (3 MB): libpostfix1-2.1.0-0.20040209.18mdk.i586 postfix-2.1.0-0.20040209.18mdk.i586 Is this OK? (Y/n) Y Please insert the medium named "Installation CD 1 (x86) " on device [/dev/hdb] Press Enter when ready... installing /mnt/cdrom/Mandrake/RPMS/postfix-2.1.0-0.20040209.18mdk.i586.rpm /mnt/cdrom/Mandrake/RPMS/libpostfix1-2.1.0-0.20040209.18mdk.i586.rpm Preparing...              ...

RPMDrake commands

Execute these commands to use the graphical front end for urpmi management, rpmdrake. Browse Available Software: /usr/sbin/rpmdrake Install Software: /usr/sbin/rpmdrake --root Mandrake Update: /usr/sbin/MandrakeUpdate Remove Software: /usr/sbin/rpmdrake-remove --root Software Media Manager: /usr/sbin/edit-urpm-media
KWS notes qmail discussion thread: http://archives.mandrakelinux.com/qmail/2004-05/ Read the thread "[qmail] New qmail mailing list" Some believe qmail is secure but hasn't been updated with new features. What new features it has are done by contributors, not by the author and not certified by him. Some are going to Exim since it has the latest features, although it has had some minor security issues in the recent past. I installed qmail. Last supported package is for Mandrake 9.2 but they say it works in 10.0. I still need to install a patch but haven't figured out how just yet. (Do I need to install qmail-local? qmailctl command is not found...) Configured files under /var/qmail/alias and /var/qmail/control as per byrd, mostly. Copied /etc/aliases file from byrd. After changing config files you have to type: qmailctl cdb - reread config files qmailctl reload - sends HUP signal to program newaliases - read new aliases file This is the Mandra...