public marks

PUBLIC MARKS from alamat with tags linux & tech

2010

How Do I Scan My Linux System For Rootkits, Worms, Trojans, Etc.?

(via)
Either install the package that comes with your distribution (on Debian you would run apt-get install chkrootkit

2008

Linux Tip of the Day - Variable usage i or ii

(via)
In cases like the following, you will notice a variable, $i, put into use. Variables such as “i, j, k” are commonly used not only in simple shell scripts, but all types of code.

2006

Adding disk on Linux

Linux hard disk device names follow a specific standard. SCSI disks all start with sd and IDE disks with hd. After this comes a letter that identifies the unit number of the disk, so for example, the first disk would be a, the second would be b, the third would be c, and so on.

Protecting content with .htaccess files

.htaccess files are very versatile, and can easily become very complex. This document contains enough information to set simple access restrictions/limits on a directory in your web space. Remember to upload .htaccess files, and .htpasswd files using ASCII mode. This is an option is available in most FTP clients.

Adding Additional Hard drive on your Linux Machine

Normally one would ask? how do i add additional harddrive to my linux box.. well we could make use of utilities like fdisk, cfdisk or QtParted but it is fdisk that is im going to discuss below.

Some Unix Tips

These are some unix tips that might be helpful someday down the road. Feel free to contribute more unix tips by commenting on this article.

Monolithic kernel vs Microkernel - Which is the better OS architecture?

Anybody who reads the tech related news online would by now be aware of the fierce debate that is raging regarding the most suitable design of an operating system. On the one side are those who favor monolithic kernels - that is a kernel which take care of almost all the system tasks like interfacing between the sound card and the audio software, the graphics card drivers and so on. Linux is a perfect example of a monolithic kernel where most of these functions take place in the kernel space. And not surprisingly, Linus Torvalds is a strong proponent of monolithic kernels.

Virtual Hosting With Proftpd And MySQL (Incl. Quota)

This document describes how to install a Proftpd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single machine. In addition to that I will show the use of quota with this setup.

Writing Linux firewall rules w/ IPTables

The Linux kernel, since version 2.0, has included the capabilities to act as a firewall. In those days, the kernel module was called ipfwadm and was very simple. With the 2.2 kernel, the firewall module became called ipchains and had greater capabilities than its predecessor. Today, we have IPTables, the firewall module in the kernel since the 2.4 days. IPTables was built to take over ipchains, and includes improvements that now allow it to compete against some of the best commercial products available in the market. This guide will give you some background on IPTables and how to use it to secure your network.

Take control of your bash_history

I spend most of my time working in front of a black and white terminal of remote SSH connections to various servers. This means that I use bash (as my preferred shell) most of the day. And bash history is a very important feature of bash that saves me much time by recalling previous commands I have typed. Here are some tricks on how you can optimize with some simple configurations settings the usage your bash history.

Bash Shell Shortcuts

Bash, which is the default shell in Linux contains a whole lot of key bindings which makes it really easy to use . The most commonly used shortcuts are listed below :

Building a Linux supercomputer using SSH and PVM

If you have a couple of old Linux boxes sitting around, then you've got the makings of a supercomputer. Dust them off, install Secure Shell (SSH) and Parallel Virtual Machine (PVM), and start your complex algorithms.

Secure Copy with SCP

Some of you may be familiar with ftp (File Transfer Protocol). It is not a good idea to use ftp over the Internet because it is a relatively insecure method of transfering files between computers. As most of you know, this protocol sends the user's password and data in the clear over the network, which leaves the user information and data susceptible to password sniffing and other network traffic interception. To transfer files between machines, you need to use scp. scp works very similarly to cp, except that the files you are copying reside on different machines.

IRIX: CHECK FOR NEW CONFIGS

SGI loves to try and simplify your life with chkconfig switches to toggle various services on and off. After each upgrade, DOUBLE check the chkconfig switches. If something doesn't work all of the sudden check here.

Kernel Panic: Defining System Inconsistencies

(Review) - Kernel panic is a web comic started and maintained by Christopher Wright. The main characters of this comic are a group of UNIX and Linux server administrators ordered to change the server farm over Nifty Doorways. It’s a humorous way of looking at otherwise complicated, mundane and dry topics, especially for those of you who deal with such scenarios constantly.

REBOOTING BECAUSE OF FORK BOMBS

There is nothing more frustrating for an Administrator who has to reboot system due to fork bomb

GREP TEXT NOT BINARY

In some directories such as /etc you have a mix of file types.

alamat's TAGS related to tag linux

announce +   apache +   apple +   availability +   based +   blog +   bombs +   boot +   bus +   cd +   code +   computer +   cow +   crontab +   cryptography +   database +   debian +   dirty +   distro +   download +   dvd +   enabling +   enterprise +   errata +   expect +   fast +   file +   files +   firewall +   fork +   freebsd +   ftp +   hacking +   hardware +   help +   howto +   hwe +   install +   iso +   java +   kernel +   kill +   logins +   logout +   mac +   maverick +   monitor +   mysql +   name +   netbook +   new +   news +   nfs +   os +   parrot +   password +   pclinuxos +   perl +   php +   places +   privacy +   PVM +   reboot +   redhat +   release +   risc-v +   rolling +   root +   rootkit +   running +   script +   security +   set +   shell +   sms +   solaris +   ssh +   sun +   supercomputer +   system +   tech +   techy +   tips +   tracking +   trick +   tricks +   tutorial +   ubuntu +   unix +   update +   updates +   upgrade +   user +   value +   version +   virus +   vulnerability +   windows +   worm +   x +