edition

How to install Snort – network intrusion prevention and detection system on Sun Solaris 10

This document describes the process of setting up a Snort network intrusion prevention and detection system on Sun Solaris 10 (SPARC). We will be using Barnyard for processing events to send to a database (to utilize BASE or another SIM product). This guide will go over both PostgreSQL and MySQL database output configurations for the sensor, and PostgreSQL for a separate example BASE console. The sensor configuration [...]

How to edit and configure the .htaccess file

How do you edit the .htaccess file? Before you upload an .htaccess file to your server, make sure there is not already one there. Your host panel or perhaps a script you have uploaded may have already changed the htaccess for some reason so you don’t want to overwrite it as doing so could change [...]

Windows Registry Hacks

This document assumes working knowledge of the Windows Registry. It is possible to render your computer useless by incorrectly modifying the Registry. Caution is advised… Settings pertaining to Windows NT will say Win NT. All others refer to Win9x 1.    Remove unwanted items from Control Panel | Add/Remove programs 2.    Changing Icons for Desktop Items [...]

Windows Registry Tips

Change the default application install path Change the default Win2000 install path A warmer welcome Tell Win2000 where to find the service pack files Remove Unwanted programs from Add/Remove Programs Open My Computer icon in Explorer view Keep the Print Spooler service from displaying dialog boxes Stop Print Job Logging in the Event Log Disable [...]

Tips and information about Windows 2000 Group Policies.

What are Group Policies? Group Policies are settings that can be applied to Windows computers, users or both.  In Windows 2000 there are hundreds of Group Policy settings. Group Policies are usually used to lock down some aspect of a PC.  Whether you don’t want users to run Windows Update or change their Display Settings, [...]

50 quick linux command tips part 3

1. How to know which ports are listening from your IP address? # nmap -sT -O your-ip-address 2. How to grep an exact match? # grep -w textfile.txt 3. How to reverse grep matches? # grep -v textfile.txt # 4. How to know which service name is what port? Assuming port 443 # cat testfile.txt [...]

How to schedule and run script on specified time and date – Crontab

Linux systems are capable of running scheduled jobs. Server administrative task are done on regular basis even while sysads are away or during sleeping hours. This keeps a fully working production server do unattended jobs on periodical basis. cron is a linux utility that schedules and automates jobs. This blog entry covers how to do [...]

How to bind ssh to selected IP address

As we all know, by default installation and kickstart of openssh daemon service (sshd), it binds itself to all existing IP address from given host. Alternatively, if you wish to bind sshd service to selected IP address, this is possible by simply editing /etc/ssh/sshd_config file. First, always make a backup copy of conf files you [...]

How to use /dev/null in linux

We all know that /dev/null acts like a black hole in the universe. Anything you throw at it would be totally gone forever. Any attempts to read or write from it result to nothing. This means any data written to this /dev/null is just discarded and gone. This also mean that any data reads from [...]

How to recover root password on linux

Finally, the well known root password recovery is here to stay. This old time favorite superuser root password recovery in linux comes as handy as a toolbox. Recovering root password in linux is as handy as newbie users during the very first linux installations. The simplest way to recover root password before kernel can be [...]

How to enable and disable of telnet service

The telnet command is used to communicate with another host using the TELNET protocol. If telnet is invoked without the host argument, it enters command mode, indicated by its prompt ( telnet>). In this mode, it accepts and executes the commands listed below. If it is invoked with arguments, it performs an open command with [...]

How to take Linux backups powered by Rsync

RSync backups data and does it very clean and well. Rsync only transfers those data that have been modified and changed so that the destination host has an exact replica from the source host. Rysnc is a command line backup tool that handles data transfers in an effective and secure manner like any other known [...]

How to Install and Configure a Caching DNS server

BIND DNS are nameservers responsible basically for resolving domain names or hostnames into their equivalent IP addresses. Websites or domain names have their own equivalent IP addresses that are usually managed and provided by the same website firms. If somebody is browsing a website from his browser, this website is being resolved, looked up and [...]

Nagios Monitoring – How to install and generic setup

A lot of powerful monitoring tools are freely available from linux world. One of them is Nagios. Nagios is a fairly complex linux monitoring tool that determines current status of target host or equipment. Two good things about Nagios is that Nagios supports web-enabled administration page and user view-only mode account. The other one is [...]