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,(…)

How to add additional swap Memory

First, we need to know what is swap memory? Generally, this is a temporary memory storage for an OS to utilize while the OS is trying to get more busy process managing another separate threads from another running applications.Assuming you already have an existing swap partition, which is usual by default installation, and we would(…)

How to remount partition as read only

Here’s a tip on remounting partitions. Usually /boot is mounted as read-write linux filesystem by default installation. If you also feel that your /boot should not be changed, modified or upgraded, you can just remount them as read only partition without booting your linux system.As root: Go to /boot partition # cd /boot Create a(…)

How to change ethernet card settings – Linux

Here’s some scenario wherein your network card seems to fail. At times, it shows you statistics of sending but not receiving packets, or it is physically connected but show you that the linkis not present at all. If you are sure that it is not driver or cable issues related, below are pointers of changing(…)

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(…)

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(…)

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 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(…)

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 Sync date and time via NTP server

Syncronizing your current date and time is as important as making database backups. Without proper accurate stamped date and time, any backup file with any stamped date on it would be meaningless. Without correct time and date, those scripts that depend on date and time schedule would be executed inaccurately and would give you result(…)

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 retrieve GMail emails via terminal using fetchmail

This entry will cover a one shot linux fetchmail command of retrieving GMail email messages using terminal without any further fetchmail configuration setup. Read on. Fetchmail is one good linux tool for fetching and retrieving remote emails. Fetchmail works and retrieves emails from remote email servers and downloads them locally into your local linux box.(…)