Techmajha - techmajha.com
General Information:
Latest News:
snort, barnyad2 and snorby : The opensource seim/IDS 31 Jan 2013 | 02:37 pm
Snorby Snorby is a frontend application for Snort. Snorby let you check and analyze your Snort events and alerts from a web browser. Prerequisite Snort installation Barnyard installation Snort Install...
‘Network error: Connection reset by peer’ or ‘Network error: Connection refused’ 8 Aug 2012 | 01:29 am
If you are trying to login to remote linux box or if your ssh session times out and you’re logged out every once in a while with error messages : ‘Network error: Connection reset by peer’ or ‘Network ...
How to change Time Zone on redhat system 26 Jul 2012 | 07:05 pm
Run the graphical utility to select city of your zone. # system-config-date Commandline method: To find time zone for your region: # cat /usr/share/zoneinfo/ Africa/ Cuba GMT0 Japan Poland Universal A...
How to change Time Zone on redhat system 26 Jul 2012 | 04:05 pm
Run the graphical utility to select city of your zone. # system-config-date Commandline method: To find time zone for your region: # cat /usr/share/zoneinfo/ Africa/ Cuba GMT0 Japan Poland Universal A...
How to block ssh users failed login attempts 22 Jun 2012 | 07:26 pm
pam_tally2 module can be used to lock an user account after certain amount of failed login attempts. Add following line to block the account after 3 failed login attempts during 10 minutes: # vi /etc/...
How to disable / enable a Linux user account 22 Jun 2012 | 04:35 pm
Instead of deleting an user account it is sometimes more convenient to just disable it. Disable an user account # passwd -l username Later on when it is enabled all data like home directory, password ...
How to block ssh users failed login attempts 22 Jun 2012 | 04:26 pm
pam_tally2 module can be used to lock an user account after certain amount of failed login attempts. Add following line to block the account after 3 failed login attempts during 10 minutes: # vi /etc/...
How to disable / enable a Linux user account 22 Jun 2012 | 01:35 pm
Instead of deleting an user account it is sometimes more convenient to just disable it. Disable an user account # passwd -l username Later on when it is enabled all data like home directory, password ...
How to install lshw and hwinfo on centos 25 Apr 2012 | 03:27 am
Download and install lshw from repoforge # wget http://pkgs.repoforge.org/lshw/lshw-2.16-1.el6.rf.i686.rpm # wget http://pkgs.repoforge.org/lshw/lshw-gui-2.16-1.el6.rf.i686.rpm # rpm -ivh lshw-2.16-1....
How to install lshw and hwinfo on centos 24 Apr 2012 | 11:27 pm
Download and install lshw from repoforge # wget http://pkgs.repoforge.org/lshw/lshw-2.16-1.el6.rf.i686.rpm # wget http://pkgs.repoforge.org/lshw/lshw-gui-2.16-1.el6.rf.i686.rpm # rpm -ivh lshw-2.16-1....