Posts Tagged ‘sbin’

A brief to various iptables commands

We will use an example based approach to examine the various iptables commands. In this first example, we will create a very simple set of rules to set up a Stateful Packet Inspection (SPI) firewall that will allow all outgoing connections but block all unwanted incoming connections:

Read more...

 Read More

Be the first to comment - What do you think?  Posted by Editor - February 23, 2009 at 3:19 am

Categories: Linux   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

How to configure xinetd package in fedora

 xinetd, the eXtended InterNET Daemon, is an open-source daemon which runs on many Linux and Unix systems and manages Internet-based connectivity. It offers a more secure extension to or version of inetd, the Internet daemon.
xinetd performs the same function as inetd: it starts programs that provide Internet services. Instead of having such servers started at [...]

 Read More

Be the first to comment - What do you think?  Posted by Editor - February 20, 2009 at 11:56 pm

Categories: Linux   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

How to Implement Disk Quotas on Linux

This tutorial walks you through implementing disk quotas for both users and groups on Linux, using a virtual filesystem, which is a filesystem created from a disk file. Since quotas work on a per-filesystem basis, this is a way to implement quotas on a sub-section, or even multiple subsections of your drive, without reformatting. This [...]

 Read More

Be the first to comment - What do you think?  Posted by Editor - at 11:10 pm

Categories: Linux   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

An Introduction to Basic IPv4 Routing

All of the operations considered in this article are operations upon a router, whether that router is a Linux box or Cisco dedicated hardware or some other type of machine. In this chapter I consider the traditional methods of IPv4 routing as using static configurations that are manually input by the network administrator.
1.1 Traditional IPv4 [...]

 Read More

Be the first to comment - What do you think?  Posted by Editor - February 9, 2009 at 8:45 pm

Categories: Networking   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

How to install BIND 9.3.x on FreeBSD

FreeBSD 4.x and 5.1 ships with BIND version 8.x as the default or base installation. FreeBSD 5.3 – the first of the stable 5.x series – ships with BIND 9.3.0 and some annoying traits. FreeBSD 6.2 ships with BIND 9.4.1 as the base installation.
FreeBSD differentiates between a base DNS install and a normal DNS install. [...]

 Read More

Be the first to comment - What do you think?  Posted by Editor - December 2, 2008 at 8:53 pm

Categories: DNS   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , ,

How to Monitor Network Services with TCP Wrappers in Linux

Most Linux distributions ship with tcp_wrappers “wrapping” all your TCP services. A tcp_wrapper (known as /usr/sbin/tcpd) is invoked from/sbin/inetd instead of the real service, such as telnet or ftp. tcpd then checks the host that is requesting the service and either executes the real server or denies access from that host. tcpd allows you to restrict access to your tcp services. You should make [...]

 Read More

Be the first to comment - What do you think?  Posted by Editor - at 8:19 am

Categories: Linux, Security   Tags: , , , , , , , , , , , , , , , , , , , , , , ,

How to have e-mail delivered at special times

E-Mail delivery can be invoked by issuing the command "sendmail -q". For those who are interested in what sendmail actually does, "sendmail -q -v" will give a more verbose version of the delivery process. It is very convenient to automate the process of e-mail delivery. A tool commonly used for this process is cron.

Read more...

 Read More

Be the first to comment - What do you think?  Posted by Editor - November 29, 2008 at 10:25 am

Categories: Tech Guru   Tags: , , , , , , , , , , , , , , , , , , , , , , ,

How to Prevent System Reboot with Ctrl-Alt-Del – Linux

The "Three-Finger-Salute" or, the key combination Ctrl+Alt+Del is typically mapped to the command /sbin/shutdown -r now. In other words, it reboots your system. Sometimes this may be unwanted behavior, so this tip shows you how to disable, or remap that key combination.

Read more...

 Read More

Be the first to comment - What do you think?  Posted by Editor - November 6, 2008 at 9:05 am

Categories: IT-Tips, Linux   Tags: , , , , , , , , ,

How to set the hardware clock on your Linux box

Setting the hardware clock is especially useful in case you have clock problems. If you experience a clock that is losing or gaining a lot of time each after a reboot, set hardware clock right, then remove /etc/adjtime.

Read more...

 Read More

Be the first to comment - What do you think?  Posted by Editor - at 3:02 am

Categories: Linux   Tags: , , , , , ,

50 quick linux command tips

1. How to you change file ownership and chown files recursively?
# chown user:user folder -R
2. How to view queued mail in sendmail or postfix?
# mailq
3. How to show which alternative binary program does your machine executes first?
# alternatives –display program-name
4. How to create public/private rsa key pair?
# ssh-keygen
5. How to log out from your current [...]

 Read More

Be the first to comment - What do you think?  Posted by admin - September 23, 2008 at 8:34 pm

Categories: Linux   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

How to block consecutive IP address using scripts

There are times that a server does not need to listen and process any TCP/UDP request for a long list of consecutive local IP addresses.
This blog entry provides a starting point of creating server scripts to block a long list of consecutive IP address from the server for permanent blocking.
To start, launch your fave editor [...]

 Read More

Be the first to comment - What do you think?  Posted by admin - at 8:20 pm

Categories: Linux   Tags: , , , , , , , , , , , , , , ,