Tag: Linux

Securing SSH with Keys

0 Comment

To Secure your server you need to make sure that remote access system such as SSH ( Secure Shell) is secure. In this Howto i will show you how you can secure your Server with SSH keys.

Tags: , , , , , , , ,

The Find Command

0 Comment

This is HowTo Search and delete file with “find command” Pretty Handy ! find /home/work/salman/ -type f -name *.txt -exec rm -i {} \; This command will find all of the files with extension txt such as file.txt and ask for its removal. Thanks and Enjoy Linux Tip of the Day. Salman

Tags: , , ,

My UTMS Book Link

0 Comment

Dear Friends, just sharing link of my Linux Security & Unified Threat Management System Book i wrote in year 2007. Enjoy here is the link http://www.4shared.com/office/YThOX3LW/lsutmsbook.html Thanks, Salman Aftab

Tags: , , , , , , ,

CONVERTING CISCO 7940 PHONES TO WORK WITH ASTERISK / ELASTIX

0 Comment

This is a third part of Hosting Cisco Phone Files on TFTP Server, to make Cisco Phones work with SIP Server such as Asterisk / Elastix. You can Download the third part from here:  CONVERTING CISCO 7940 PHONES TO WORK WITH ASTERISK- Elastix -Part III   Thanks, Salman Aftab

Tags: , , , , , , , , ,

Setting up Linux DHCP Server for Cisco Phone Files PART -II

0 Comment

This is the second part of three part series. In this part we will setup DHCP Server on our Linux box. This DHCP will provide automatic IP addresses to our Cisco Phones.(If it’s set to YES) So Lets setup a simple DHCP Server on Linux. You can Download the Pdf from here Setting up Linux TFTP […]

Tags: , , , , , , , , , ,

Setting up Linux TFTP Server for Cisco Phone Files PART -I

0 Comment

Hey Guys this time its Linux and Cisco working hand to hand. This post is kind of a multipost and consist of : 1. TFTP Server Setup on CentOS 6.4 2. DHCP Server Setup on CentOS 6.4 3. Hosting Cisco Phones Firmware on TFTP Server 4. Converting SCCP to SIP to use Cisco VOIP Phones […]

Tags: , , , , , , , , , ,

Python for Linux Admins – Part V

0 Comment

In fifth part of our Python blog entry i will write my own script. This script will provide us with the port information of any Linux service. Also you will see a touch of socket programming in python. Enjoy ! I have named this script as porter.

Tags: , ,

Python for Linux Admins – IV

0 Comment

Simple Python Script which will show linux logs (dmesg and lastlog) from selection. #!/usr/bin/env python import os os.system (‘clear’) print “Pylog Created by Hyp3ri0n” print “Version 0.1” print “Respect Linux…………….” print “=” * 50 print ” ” value = 1 value2 = 2 answer = int(input (“Enter the Value 1 or 2: “) if answer […]

Tags: , ,

Python for Linux Admins – III

0 Comment

The IF & ELIF Statement Let’s Write Our First Program using if and elif statement. Open Vi editior as # vi pyif.py and Start Typing the below code:

Tags: , ,

Python for Linux Admins -II

0 Comment

In this part we will continue our journey with Python. Note that every thing in Python is an Object and it has a unique id and it has a type e.g >>> x = 2 >>> id(x) 505498008

Tags: , ,