Monday, February 27, 2012

How To Configure PPTP VPN Server In RHEL 6

Installation and Configuration of PPTP VPN Server. VPN [ Virtual Private Network ].

We need two packages one is ppp and second is pptpd.
1. [root@red ~]# yum install ppp* -y

Second package download and install pptpd rpm.
Download rpm from this source for RHEL 6 Click here
Download rpm from this source for RHEL 5.4 Click here

2. [root@hat ~]# rpm -ivh Desktop/pptpd-1.3.4-2.el6.i686.rpm

 Now after installing this file.

3.  [root@hat ~]# vi /etc/pptpd.conf

Go to the end of this file you can see example of localip and remoteip
now add your own value for localip and remoteip.
example :-  localip 192.168.0.230 and remoteip 192.168.0.230

Next open this file.

4. [root@hat ~]# vi /etc/ppp/options.pptpd
 
Uncomment the ms-dns lines and here are define the DNS Server IP provided by your ISP.

Next open this file to add usernames and passwords for your clients. you need to enter usernames and passwords in the following format.

5. [root@hat ~]# vi /etc/ppp/chap-secrets



Now we need to enable ip forwarding. so open the file.
6. [root@hat ~]# vi /etc/sysctl.conf net.ipv4.ip_forward = 0 to 1
like this - net.ipv4.ip_forward = 1


Now check sysctl.conf file use this command.

7. [root@hat ~]# sysctl -p


Next configure iptables to do NAT.

8. [root@hat ~]# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Next we need to allow TCP port 1723 and the GRE protocol through iptables.

9. [root@hat ~]# iptables -A INPUT -i etho -p tcp --dport 1723 -j ACCEPT
10. [root@hat ~]# iptables -A INPUT -i etho -p gre -j ACCEPT

Now service pptpd start and chkconfig pptpd on.


Client side in MS Windows xp

1. Go to start - Control Panel - Network Connections - Create a new connection.

Next....
Next....
Next....
Next....
Next....
Next....
Next....
Next....
***!!**Enjoy the magic**!!***




Monday, February 20, 2012

Play Music On RHEL 5.4

Some people want to play music on your Linux machine. But some guys not know which package for player. We know which software for player in Windows XP but you want to using Linux OS. So what will be nothing just see the step....

Download this package click here for rhel 5.4
Extract the package.

1. [root@red Desktop]# tar -xvf xmms-1.2.11.tar.gz


Now compile the package.

2. [root@red Desktop]# cd xmms-1.2.11

3. [root@red xmms-1.2.11]# ./configure



4. [root@red xmms-1.2.11]# make



5. [root@red xmms-1.2.11]# make install


Now type xmms on the terminal some error like this.
[root@red ~]# xmms
/usr/local/lib/xmms/Input/libmpg123.so: cannot restore segment prot after reloc: Permission denied

Nothing to worry SElinux prob type this command.

6. [root@red ~]# chcon -t textrel_shlib_t /usr/local/lib/xmms/Input/libmpg123.so

7. [root@red ~]# xmms


Listen your favorite song on Linux. any prob tell me.

***Enjoy the magic***



Sunday, February 19, 2012

Question

1.   Edition of Windows XP,Vista & 7 ?
      A. XP Home, Professional, Media Center.
      B. Vista Starter, Home, Business, Ultimate, Enterprise etc.
      C. 7 Starter, Home, Business, Ultimate, Enterprise etc. 
 
2.   Difference between XP professional & Home edition ?      
      XP Professional.
      A. Join with domain controller.
      B. RDA (Remote Desktop Access) supported.
      C. Automated system recovery supported.
.     D. Full NTFS Security.

      XP Home Edition.
      A. Domain controller not supported.
      B. RDA not supported.
      C. Automated system recovery not supported.
      D. No Security supported.

2.   Difference between XP & 7 ?

                  Windows XP                                                     
  1. Remote App not supported.                             
  2. Bit locker not supported.                                
  3. Dynamic driver detection not supported.           
  4. User Switching not supported.                          
  5. Windows power shell unavailable.                    
  6. App Locker not supported.  
                            
                  Windows 7 
  1. Remote app supported   
  2. Bit locker supported
  3. Dynamic driver detection supported 
  4. User switching supported 
  5. Windows power shell 2.0 
  6. App Locker supported

3.   Features of Windows 7 ?

  1. Remote app supported.
  2. Bit locker.
  3. Dynamic driver detection.
  4. User switching features.
  5. Windows power shell 2.0.
  6. App Locker.

4.   Bootable files of Xp and 7/vista ?

                  Windows XP                                                  
  1. boot.ini This is text file having the list of available OS,notify the NTLDR where to find  boot partition. 
  2. NTLDR –Nt loader to boots the operating system.                    
  3. Ntdetect.com detects the installed hardware of computer during booting. 
  4. NTBOOTDD.SYS - this file is used to recognize and load the SCSI boot partition.
  5. Bootsect.dos : for  dual boot environment.
 
                  Windows 7/vista
  1. BCD (Boot Configuration Data) - is text file that lists the available OS found and tells the BOOTMGR where to find boot partition.     
  2. NTOSKRNL.EXE- Windows Vista/7 Core Files.
  3. WINLOAD.EXE- Loads the Windows Interface.  
  4. HAL.DLL - Hardware Abstraction layer of Windows Vista/7.
  5. WIN.COM - Windows Vista/7 command file.
5.    Restoration process of XP and 7 ?
           
                  Windows XP
  1. Click "Start," "Programs," "Accessories," "System Tools" and "System Restore."
  2. Click "Restore my computer."
  3. Select a desired restoration date from the onscreen calendar.
  4. Press "Next" to restore the computer to the chosen date.

                  Windows 7
  1. Open the Start Menu.
  2. Click on All Programs, Accessories, System Tools, and System Restore.  
6.    Edition of Microsoft Office ?
Ans: Microsoft office professional & standard
8.    Deference between MS office professional & Std ?
  
                 Office Professional     
  1. Office Professional is used for enterprise business purposes.
  2. The Office Professional contains Access, Excel, PowerPoint, Publisher, Word and Outlook with Business Contact Manager.
                  Office STD
 
  1. Office Standard  for small businesses and home users.
  2. Office Standard contains Word, Excel, PowerPoint and Outlook.
9.   Difference between MS Outlook  & Outlook Express?
    
                  MS Outlook   
  1. MS Outlook include support for Microsoft Exchange Server e-mail 
  2. Out of Office automatic e-mail replies 
  3. group calendar scheduling 
  4. multiple address books, tasks, notes, junk e-mail filtering 
  5. automatic backup, and archiving of items
  6. PST database
  7. OST supported
                  Outlook express
  1. part of Microsoft Internet Explorer and Microsoft Windows, MAPI not supported
  2. Out of office ,emai replies not supported
  3. Group calendar scheduling not supported
  4. Junk email filtering not supported
  5. Automated backup and archiving not supported
  6. DBX database
  7. OST not supported

10.   Maximum size of MS Outlook PST & DBX ?
 
  1. MS outlook 2007 support 20 GB data.
  2. Outlook express support 2 GB
11.   What is difference between PST & OST ?
Ans: Pst stands for personal storage that is created after archiving process and it is stored on client system whereas OST stands for Offline storage template that is offline replica of exchange mail file that is found on client system as well as exchange server.

12.   Types of Archiving process ?
Ans : manual archiving, scheduled archiving, Date wise archiving.

13.   Mail Export process from MS outlook ?
Ans : a. Go to file > Import and Export menu and follow the next wizard……………
 
14.   Mailing protocol used by MS outlook and Outlook Express ?
Ans : a. MS outlook support MAPI,POP3 and SMTP and IMAP and outlook express support POP3,SMTP and IMAP.
 
15.   Port no of mailing protocol ?
Ans :  Smtp 25, POP3 110,IMAP 143,MAPI 135.

16.   Internet Explorer version ?
Ans : IE 7,8,

17.   How proxy works on client system, settings etc ?
Ans : Client system look out the proxy settings form IE and forward the request to proxy server,
Proxy settings: go to internet explorer>Tools> connection >Lan settings > configure proxy server IP.

18.   What is gateway and how it works ?
Ans :  Gateway connects two different subnets and route the between both subnet.
 
19.   What is DNS ?
Ans : DNS Doman Name system ,mainly it is used for conversion process. it is resolve hostname to Ip and IP to hostname.

20.   Type of networking cable ?
Ans :  CAT 5,5e,CAT 6 ,6e,7 etc.
 
21.   Type of IP Classes ?
Ans :  Class A (0-126),Class b (128-191),Class C (192.223),Class D (224-239) used for multicast ,Class E (240-254)used for research and education.

22.   Difference between Public IP and Private IP ? 
Ans :  Public ip are the ip that can be accessed by every one,ie every user has the access to this ip's.e.g yahoo.com,google.com etc are the pubic ip's.
Private ip's are the ip that can not be accessed by everyone, ie they are  owned by an organization, only the user of that organization has the access to this ip's.

23.   What is Loopback address ?
Ans :  Loopback address is a special IP number (127.0.0.1) that is designated for the software loopback interface of a machine.

24.   Type of networking passive component ?
Ans : Jack Panel, IO box, patch panel, RJ 45 Connector, Cable etc.
 
25.   Maximum distance of CAT 5e & CAT 6e cable length ?
Ans : 100 mtr.

26.   Data Speed of CAT 5 & CAT 6 ?
Ans: CAT 5e 1 Gbps, CAT 6e 10 Gbps.
 
 27.   Difference between 802.11 g & N series WAP (Data speed) ?
Ans:
  1. 802.11 g.
  2. 54 mbps data rate.  
  3. 50 feet distance.   
  4. 2.4 ghz frequency. 
  1. 802.11n.
  2. 300 mbps data rate.
  3. 175 feet distance.
  4. 2.4/5 Ghz frequency.
28.   How to trouble shoot if any computer is not able to join with domain controller ? (Step by Step)
Ans: check network Cable,IP Address, domain joining user credential, check host entry on domin controller, ping domain controller, check DNS, check host firewall, check antivirus.
 
29.   How to troubleshoot if internet is not working on any computers ? (Step by step)
Ans: check lan connectivity, confirm ip is having permission of internet, check internet explorer proxy settings if configured, check dns resolver, check user authentication if required.

30.   How to find out the problem if mails has stuck in outbox ? (Step by Step)
Ans : check email accounts configuration, check mail incoming and outgoing port ,check internet is working or not on system if POP3 account is using, check lan connectivity, check mail box size if exchange server account is configured, check mailbox quota limit, check antivirus setting.

31.    How to troubleshoot NTLDR missing problem ?
Ans : insert operating system CD/DVD and repair O/S.

32.   How to repair corrupt pst ?
Ans : Run PST Repair tool to repair corrupt pst that is located in outlook folder.



Saturday, February 18, 2012

How To Configure TELNET Server On RHEL 6

Sometime you want to using remote system as your need. You are using SSH always for remote system  but sometime you need to TELNET Server some another reason.So now you want to configure TELNET Server on your Linux Machine.
Here see the TELNET Server configuration for all Linux lovers.

Features.
1. Shell interface on remote system.

[ Server Side ]
Install TELNET Server package

1. [root@localhost ~]# yum install -y telnet*


 2. [root@localhost ~]# vi /etc/xinetd.d/telnet

 
3.  [root@localhost ~]# service xinetd restart

4. [root@localhost ~]# chkconfig xinetd on

5. [root@localhost ~]# netstat -ntl | grep 23


 Configure client side same step for clients side.

6. [root@localhost ~]# telnet 192.168.0.2



***Enjoy the Magic***


Tuesday, February 7, 2012

What Is Hacking

Hacking is the use of different types of tools and technologies to access a computer or any device without the user permissions.In other words it is the illegal way to a access any device like computers , mobile phone, atm machines, etc.But hacking is not always illegal and that is what we say ethical hacking .Ethical hacking is the process of hacking a system or any device but with the permissions and authority from the owner of that system or device or application.

How to become a hacker ?
Hacking is not an art that can be mastered overnight. It requires knowledge, skills, creativity, dedication and TIME also. Everyone can become a Hacker provided they learn it from the basics. So if you wanna become a hacker, then all you need is a good source that will teach you hacking from the basics.
what skills are require to become a hacker ?
Becoming a hacker is not a magical thing, but like anything else that is worthwhile it takes dedication, a willingness to learn. It is most important to have a good knowledge of topics such as Operating system and it’s working, Computer networks, Computer security and of course Programming. It’s not possible to become a hacker overnight. All you need is a good source to start from the basics.

How To Crack BIOS Password

ARE YOU WANT TO CRACK THE BIOS PASSWORD.....

Do the following :

1.
Open the CPU
2. Now, observe the motherboard.
3. You notice a coin like silver Battery(3V).

NOTE:
This battery is 24 x 7 power supply for the BIOS, which is used to run the system clock will the main power is off. It also initiates the booting process when power is switched on.

4. Remove the battery from the motherboard.(It is safe to remove the Battery)
5. Wait 30 seconds and place the battery back on the motherboard.
6. Now, when you start your system you won't be prompted for the BIOS password.
WARNING:
1.
Perform on your own risk !
2. You have to set the time of your computer when you start again.
!!!Enjoy the magic!!!

How To Change WINDOWS XP Name With Your Name

Branding Windows with your name.
this trick is quite simple, use notepad and follow the following steps....

open notepad dump the following lines into it and save it with the name OEMINFO.INI in the c:\windows\system32 directory:
[General]
Manufacturer=Your Name Here
Model=Your Model Here
[Support Information]
Line1=Your Name Here
Line2=Your Address Here
Line3=Your Email Address Here

Save the file, then make a right click  on my computer select properties, in the general tab a button will be highlighted (support information) make a click on it, you will be able to see the changes.

Now if you want to display some more information the simply increase the line in the file.


Ex:
Line4=Your Working Hours Here
Now that’s finish…….
***Enjoy the magic***

Show Your Name After Time In Taskbar...

Add up ur name in place of AM and PM beside time
Its simple
Step-1:- Navigate to -> Start -> Control Pannel -> Regional and Language Option -> Click on Customize -> Go to TIME Tab -> Change AM symbol and PM symbol from AM and PM to ur name -> Apply -> Ok ...

Did It change? If not, follow step-2 below.
Step2:- Now go to time in taskbar and Double Click it to open "Date and time property" ...Look place where time changes in digital form i.e. 02:47:52 AM , click to arrow to cnage the AM or PM by selecting and press arrow. It will Show ur name or name that was entered by u, Apply -> OK ***Enjoy the magic***





Multiple Login In GTalk

Here are few easy steps by which you can learn how to  do multiple logins in Gtalk at the same time.
  1. Go to GTalk icon and Right Click on it.
  2. Select Properties.
  3. In the Shortcut tab, you need to edit the Target field there.
  4. Initially it is : “C:\Program Files\Google\Google Talk\googletalk.exe" /startmenu
  5. Copy everything except “/startmenu“.
  6. Now go to Desktop and Right Click and Create New Shortcut.
  7. In the location of that new shortcut, Paste that copied address.
  8. Now add a space and type “/nomutex”  (without double quotes).
  9. Click Next and Name that shortcut anything you want ( like  Multiple Gtalk).
  10. Now a shortcut will be created on your desktop.
  11. Now open the GTalk twice.
  12. Enter the 2 different Google ids and passwords in these 2 different GTalks respectively and  Sign in.
  13. *****Enjoy the magic*****





Folder Without Name

You want to create a folder without name {Only for windows}
                              Follow this step.....

1. Right click on the desktop create a new folder.
2. Now rename the folder with a space {yout have hold ALT key and type 255}.
3. Now you have a folder without a name.
4. Right click on the folder>properties>custmize.click on change  icon. *****Enjoy the magic*****
 





Chat With Friends Through MS Dos Command Prompt

1. All you need is your friend's IP Address and  than your Command Prompt.
2. Open Notepad and write this code as it is.....!
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
3. Now save this as "messenger.Bat"
4. Open command promt.
5. Drag this file {.bat file} over to command promt and press enter.
6. you would then see something like this...

 7. Now, type the IP Address of the computer you want to contact and press enter
You will see something like this:



8. Now all you need to do is type your message and press Enter. Start Chatting.......!

!!!Enjoy then magic!!!








How To Install WINDOWS XP OPERATING SYSTEM Very Fast

Now friends just follow this step ..........


1. Boot through Windows XP CD.
2. After all the files are completely loaded, you get the option to select the partition. Select “c”.
3. Now Format the partition, whether it is normal or quick with NTFS or FAT.

4. Once the formatting is completed, All the setup files required for installation are copied. Restart your system by pressing Enter.


Now, here begins the Simple trick to save 10-15 minutes.


5. After rebooting you get a screen where it takes 40 minutes to complete or finalize the OS installation.
6. Now, Press SHIFT + F10 Key ->  This opens command prompt.
7. Enter “taskmgr” at the command prompt window. This will open Task Manager.
8. Click the Process Tab, here we find a process called Setup.exe -> Right Click on Setup.exe -> Set priority -> Select High or Above Normal. Initially it will be Normal.



thats it enjoy and ****Enjoy-the-magic*****










How To Create Hidden User Account In WINDOWS XP

Hide a User from the Welcome Screen in Windows XP

1.START > RUN

[Open Registry Editor]

2.Type RIGEDIT     
3.In Registry Editor, navigate to the following registry key:


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SpecialAccounts\Winlogon\UserList

4.Click right and create a new DWORD VALUE.

EXAMPLE >  Username: REG_DWORD

5.Type the name of user which you want to HIDE.
6.Set the BINARY VALUE 0.
7.Close Registry Editor.
8.Reboot.


If you want to login HIDDEN account on the welcome screen so press ALT+CTRL+DEL 2 TIMES.

Now enter your HIDDEN USERNAME and PASSWORD on the LOGON SCREEN BOX.

****Enjoy the magic****











Blogger Error

Some guys use aircel pocket internet and connect as modem in computer and laptop for internet access but i know all friends know this configuration aircel pocket internet. But some friends not open some site like blogger. So here solved this problem. ERROR LIKE ( Oops! firefox could not find yourname.blogspot.com )

    
Now follow this step

1. Go to Network place.
2. Right click your mobile modem connection.
3. Go to properties click Networking  tab.
4. Selected internet protocol (TCP/IP) ipv4 
5. Click properties and select ( USE THE FOLLOWING DNS SERVER ADDRESSES )
6. Preferred DNS server ( 4.2.2.2 ) for only aircel
7. Alternate DNS server ( 8.8.8.8 ) for only aircel

Now you need to re connect your connection then 
***Enjoy thi magic***

Multiple Login In Yahoo Messenger Without Any Other Software

Some time you are used only one yahoo messenger but you have two id for yahoo. If you want same time are you login in yahoo messenger. Again are you install yahoo messenger it's not possible so what to do you have any idea now forget it just follow this step. . . . .

1. Now install yahoo messenger and already installed that's good.

 
2. Press Window + r open run type  regedit .

3. Navigate to HKEY_CURRENT_USER-->Software-->Yahoo-->Pager-->Test

4. ON the Right side if the page Right click and choose new Dword Value.

5. Rename it as ` Plural `.
6. Double click and assign a decimal value of 1.

7. Now see the magic close registry and restar yahoo messenger and try Multiple Login.


 

Access Internet On VMWare

If you are using MS Windows XP and you are already accessing internet in your MS Windows XP through the phone now you want to access internet on VMware you can say virtual machine. To do this. You will need to share your hosts internet with virtual machine. Are you ready now follow this step by step. .. . .

MS Windows XP side

1. Open Control panale  again Network Connection.
2. Open your phone dial-up connection.


3. Right click go to properties again click Advanced tab.
4. check internet connection sharing and select your VMware connection in home networking connection.  one more thing you must be know this connection IP address because you need to define this IP address as a gateway in virtual machine.  

Example:-
{ VMware Network Adapter VMnet1 }


5. done windows side

Now VMware side

1. Open VMware software.
2. Go to vm and settings.
3. Select Network Adapter and right side select custom: Specific virtual network then ok.

Example:-
{VMnet1 (Host-only)

Now start your virtual machine 

1. Define the gateway IP address.
Try to ping google.com


Any problem then tell me

***Enjoy the magic***

Automatically Update Time And Date In Your Diary

Here are a nice trick for documents and your personal diary and you want to update like TIME and date for your documents and diary. ya of course it's do it better for your documents nothing else just follow this step by step.....

  • Open a notepad file.
  • write .LOG as this now save the file with any name close it.
  • Now again open the file and you see the current date and time has been already set. 

  •  Type your notes and then save and close the file.
  • Every time you open the file automatically update the process,that is it appends the date and time.
***Enjoy the magic***


Master Keys & Universal Keys Of All SOFTWARE & OS

                                          
                                                 CD -KEYS

 WINXP:-                   FPHYV-Y9QWY-QT7KF-DCJKK-BQ47B


WIN-2003:-               JQCYB-2KG36-Q8JM6-X69CY-KF8YB


OFFICEXP:-             FM9FY-TMF7Q-KCKCT-V9T29-TBBBG

OFFICE 2003:-         GWH28-DGCMP-P6RC4-6J4MT-3HFDY

OFFICE 2007:-         W4DW6-BMWPC-9XBYC-RC4YV-K7J7W

WINXP-SP2:-           H7C97-C67JB-G6RQR-P6H2Y-TMQ6W

WIN2003 (3 IN 1):-  JB88F - WT2Q3 - DRXTT- Y8GHG - 7YYQY

WIN2000-PROF:-    DDTPV-TXMX7-BBGJ9-WGY8K-B9GHM

WIN2000-SERVER:-  KRJQ8-RQ822-YRMXF-6TTXC-HD2VM      

ETRUST-ANTIVIRUS:-  RWLTY-ECRXL-XKCXH-RKGRI

XP-MEDIA CENTER: -  RHKG3-8YW4W-4RHJG-83M4Y-7X9GW
                                        C4BH3-P4J7W-9MT6X-PGKC8-J4JTM
                                        RD6W4-369DT-DMHQH-4RVKW-WY6PG
                                        KCQ9Q-FTBM4-6HTWV-M7DKM-T4BFB

CORAL DRAW 11 : -     DR11CRD-0012082-DGW

VMWARE WORKSTATION V6 : -  ZCJ2X-TYX2M-KA44A-4PDQK

VMWARE WORKSTATION V7 :-  VV3MH-A4F90-480HP-HWPX9-PFKGF 





Monday, February 6, 2012

Forget Your Computer User Password

Restart your computer. keep press F8 key use arrow key select safe mode and press enter longin  to admin open control panel then go to user account and selecte your user name and remove your user password restart your system   ...........!!!!Enjoy The Magic!!!!






Restart Problem For MS WINDOWS XP

In case of every time your windows (pc) restart. then repair your windows and any problem ask me !!!Enjoy the magic!!!






Fast Copy & Fast Processing

Anything you start copy then open windows task manager and select your copy application click right button then go to process and open your processes move to cursor already selected processes then click right buton and move to cursor set priority then click high and see your copy processing is fast !!!Enjoy the magic!!!






How To Change Startup Sound In Windows Xp

Chaneg the startup,shutdown,and any system sound on your windows xp.
You can control all Windows sounds through the Sounds control panel. To change the sound heard during startup:

WINDOWS XP

1.Click Start menu, select Control Panel.

2.Click Sound and audio devices.

3.Select Sound.

4.Under "progarm events:"

You can see so many sound option at startup and any other sound option.

5.Just find out start windows.

 And you can choose so many sound.

***Enjoy the magic***

How To Disable And Stop Vmware DHCP Service On The Host Computer

Vmware Workstation 7.1 Windows XP Professiona Service Pack 3

  1. Click Start, then choose Settings>Control Panel.
  2. Click Administrative Tools.
  3. Double-click Services.
  4. Scroll down and select VMware DHCP Service.
  5. Right-click the highlighted line and choose Properties.
  6. Click the Stop button.
  7. In the Startup type list, select Disable or Manual.
  8. Click OK.
****Enjoy the magic****






Blogger Error On LINUX

Some guys use aircel pocket internet and connect as modem in computer and laptop for internet access. But you are access your blog over the network. search your blog and see the error. ERROR LIKE THIS ( Oops! firefox could not find yourname.blogspot.com) Here are a solve Blogger Error. Same problem on MS Windows XP but there is solved. Now here on Linux am found this error. Now follow this step by step.


Open Network Configuration.

1. [root@localhost ~]# system-config-network .

 Click DNS tab.


Define DNS IP ADDRESS.

1. Preferred DNS server ( 4.2.2.2 ) for only aircel
2. Alternate DNS server ( 8.8.8.8 ) for only aircel.

Now open your blog and see tha magic....


How To Running TeamViewer On Linux Ubuntu Fedora RHEL CentOS

Here is a good trick for Teamviewer first install Teamviewer in linux but you are trying to run teamviewer  as a root from terminal. You will get message like:-
TeamViewer must not be executed as root!
So what to do no idea but you want to run ok follow this few step...then you can run Teamviewer

[root@red ~]# vi /usr/bin/teamviewer

userid=$(id -u)

if [ $userid = 0 ]
then
        echo TeamViewer must not be executed as root!
       exit 1
fi

Uncomment these lines to

#userid=$(id -u)

#if [ $userid = 0 ]
#then
#        echo TeamViewer must not be executed as root!
#       exit 1
#fi

Save and Exit this file

That's it friends...Try to run Teamviewer....

***Enjoy the magic***



How To Block Only Services

One biggest security option some time as a server administrator you are thinking can not access via SSH or TELNET services in your system and you can say server system. Some personal documents in server machine and also services. I can understand if you are as a server administrator and you want to secure your system. So what to do you are login through user ya it's good but you are login through user then go to super user. Some time you want to changes like some file on the server it's very urgent so you need to login your system so what your choice login with user and super user i know super user. Again security issue then do this it's very simple i hope you like it.

Follow this step

You want to block like SSH open hosts.deny file define the SERVICE name and IP address
  • [root@linuxserv1 ~]# vim /etc/hosts.deny
 EXAMPLE:-  
[ servicename: <TAB> IP address or Network address ]
sshd: 192.168.0.                  {like this}

Then save the file.
  • [root@linuxserv1 ~]# service sshd restart
Done this configuration on server machine now try to ssh through another machine..


***Enjoy the magic***

How To Configure FTP Server In RHEL6

FTP [ File Transfer Protocol ]  file transfer protocol, a standard for the exchange of program and data files across a network. FTP [ File Transfer Protocol ] allows you to transfer files between two computers on the Internet. Simple network protocol based on Internet Protocol and also a term used when referring to the process of copying files when using FTP technology. It's also commonly used to download programs and other files to your computer from other servers.you can upload file software on the FTP server. FTP required for transfer your data one machine to another machine and you can access FTP on the browser two types one is anonymous and second is non anonymous.

Now follow this step

Install VSFTPD Package through yum and rpm command. As you wish

1. [root@linus ~]# yum install vsftpd* -y

 Switch the pub directory and Create some file like this

2. [root@linus ~]# cd /var/ftp/pub

3. [root@linus pub]# touch a b c d e

Now  check through ls command. Restart the service

4. [root@linus ~]# service vsftpd restart

Shutting down vsftpd:                                      [  OK  ]

Starting vsftpd for vsftpd:                                [  OK  ]

Permanent service on

5. [root@linus ~]# chkconfig vsftpd on

Open firefox and any other browser type [ IP ADDRESS ] like this ftp://192.168.0.1

#*** Enjoy the magic***#


Favorites